aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-01-27 18:58:52 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-01-27 18:58:52 +0000
commitf8572650110f83c743b02acb628fa8c55d84b7f9 (patch)
tree36ad74adfb6da89a5ab283163ae6469a5c634d3b /epan/dissectors
parent2e05d7256cfc0b1c58085cf5f5b4cc2c1791cd75 (diff)
Fix some dead increment warnings found by Clang
svn path=/trunk/; revision=47319
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-gsm_a_rr.c4
-rw-r--r--epan/dissectors/packet-gtpv2.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.c b/epan/dissectors/packet-gsm_a_rr.c
index de34de3918..fac9a675dd 100644
--- a/epan/dissectors/packet-gsm_a_rr.c
+++ b/epan/dissectors/packet-gsm_a_rr.c
@@ -2176,7 +2176,7 @@ de_rr_chnl_req_desc2(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, gu
bit_offset += 2;
if (gsm_rr_csn_HL_flag(tvb, tree, (offset+len)<<3, bit_offset++, "Additions in Rel-9", "Present", "Not present")) {
proto_tree_add_bits_item(tree, hf_gsm_a_rr_emst_ms_cap, tvb, bit_offset, 1, ENC_BIG_ENDIAN);
- bit_offset += 1;
+ /*bit_offset += 1;*/
}
}
@@ -2335,7 +2335,7 @@ de_rr_dtm_info_details(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_,
proto_tree_add_bits_item(tree, hf_gsm_a_rr_dedicated_mode_mbms_notification_support, tvb, bit_offset, 1, ENC_BIG_ENDIAN);
bit_offset += 1;
proto_tree_add_bits_item(tree, hf_gsm_a_rr_mnci_support, tvb, bit_offset, 1, ENC_BIG_ENDIAN);
- bit_offset += 1;
+ /*bit_offset += 1;*/
}
}
diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c
index 704ba32266..07d14989d6 100644
--- a/epan/dissectors/packet-gtpv2.c
+++ b/epan/dissectors/packet-gtpv2.c
@@ -1276,12 +1276,12 @@ dissect_gtpv2_tgt_rnc_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, pr
subtree = proto_item_add_subtree(rai_item, ett_gtpv2_rai);
dissect_e212_mcc_mnc(tvb, pinfo, subtree, offset, TRUE);
- curr_offset+=3;
+ curr_offset+=3;
proto_tree_add_item(subtree, hf_gtpv2_lac, tvb, curr_offset, 2, ENC_BIG_ENDIAN);
- curr_offset+=2;
+ curr_offset+=2;
proto_tree_add_item(subtree, hf_gtpv2_rnc_id, tvb, curr_offset, 2, ENC_BIG_ENDIAN);
- curr_offset+=2;
+ /*curr_offset+=2;*/
/* no length check possible */