aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-scsi-ssc.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-17 19:25:00 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-17 19:25:00 +0000
commit716deac16d813f2a329286746dd491b7af4b653f (patch)
tree033c1f04610c75b954ca0cddd7b12c2ba3e0ce80 /epan/dissectors/packet-scsi-ssc.c
parentce5a997d99ad2f928115044e86bc3a61fb925905 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48380
Diffstat (limited to 'epan/dissectors/packet-scsi-ssc.c')
-rw-r--r--epan/dissectors/packet-scsi-ssc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-scsi-ssc.c b/epan/dissectors/packet-scsi-ssc.c
index c128955993..ae34ed4a26 100644
--- a/epan/dissectors/packet-scsi-ssc.c
+++ b/epan/dissectors/packet-scsi-ssc.c
@@ -807,7 +807,7 @@ dissect_ssc_readposition (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
"Number of Bytes in Buffer: %u",
tvb_get_ntohl (tvb, offset));
}
- offset += 4;
+ /*offset += 4;*/
break;
case LONG_FORM:
@@ -842,9 +842,9 @@ dissect_ssc_readposition (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
proto_tree_add_text (tree, tvb, offset, 8,
"Set Number: %" G_GINT64_MODIFIER "u",
tvb_get_ntoh64 (tvb, offset));
- offset += 8;
+ /*offset += 8;*/
} else
- offset += 16;
+ /*offset += 16;*/
break;
case EXTENDED_FORM:
@@ -894,7 +894,7 @@ dissect_ssc_readposition (tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
"Number of Bytes in Buffer: %" G_GINT64_MODIFIER "u",
tvb_get_ntoh64 (tvb, offset));
}
- offset += 8;
+ /*offset += 8;*/
break;
default: