aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-10-21 14:53:38 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-10-21 14:53:38 +0000
commit732a7354299c0947c9babdea2bf67d402cb61019 (patch)
treec9367441c25177c959f1d248ad41fbca86f796d1
parent0baa7413a9dbe91c714835825d5ad3296e74141e (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=45683
-rw-r--r--epan/dissectors/packet-q2931.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-q2931.c b/epan/dissectors/packet-q2931.c
index acc0a758bf..0b46f70921 100644
--- a/epan/dissectors/packet-q2931.c
+++ b/epan/dissectors/packet-q2931.c
@@ -744,8 +744,8 @@ dissect_q2931_bband_hi_layer_info_ie(tvbuff_t *tvb, int offset, int len,
"High layer information type: %s",
val_to_str(octet & 0x7F, q2931_hi_layer_info_type_vals,
"Unknown (0x%02X)"));
- offset += 1;
- len -= 1;
+ /*offset += 1; */
+ /* len -= 1; */
}
/*
@@ -929,16 +929,16 @@ l2_done:
octet = tvb_get_guint8(tvb, offset);
proto_tree_add_text(tree, tvb, offset, 1,
"Packet window size: %u", octet & 0x7F);
- offset += 1;
- len -= 1;
+ /*offset += 1;*/
+ /*len -= 1;*/
break;
case Q2931_UIL3_USER_SPEC:
proto_tree_add_text(tree, tvb, offset, 1,
"Default packet size: %u octets",
1 << (octet & 0x0F));
- offset += 1;
- len -= 1;
+ /*offset += 1;*/
+ /*len -= 1;*/
break;
case Q2931_UIL3_TR_9577: