diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-03-10 17:47:07 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-03-10 17:47:07 +0000 |
commit | 6ee4ab9692d2eecb0201a27a5aee7d6723e53536 (patch) | |
tree | 51c82744446edc1dc4d3b45bdea26db56953e3d2 /epan/dissectors/packet-gsm_bssmap_le.c | |
parent | 5634cf10fd866a57c2ae17a92c54dcc57947a01b (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41463
Diffstat (limited to 'epan/dissectors/packet-gsm_bssmap_le.c')
-rw-r--r-- | epan/dissectors/packet-gsm_bssmap_le.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-gsm_bssmap_le.c b/epan/dissectors/packet-gsm_bssmap_le.c index f0bc5f92e6..bc26c53939 100644 --- a/epan/dissectors/packet-gsm_bssmap_le.c +++ b/epan/dissectors/packet-gsm_bssmap_le.c @@ -318,16 +318,16 @@ de_bmaple_decihp_keys(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, g /* Extract the Ciphering Key Flag and add to protocol tree */ proto_tree_add_bits_item(tree, hf_gsm_bssmap_le_ciphering_key_flag, tvb, bit_offset, 1, ENC_BIG_ENDIAN); bit_offset++; - offset++; + /*offset++;*/ /* Extract the Current Deciphering Key Value and add to protocol tree */ proto_tree_add_bits_item(tree, hf_gsm_bssmap_le_current_deciphering_key_value, tvb, bit_offset, 56, ENC_NA); bit_offset += 56; - offset += 7; + /*offset += 7;*/ /* Extract the Next Deciphering Key Value and add to protocol tree */ proto_tree_add_bits_item(tree, hf_gsm_bssmap_le_next_deciphering_key_value, tvb, bit_offset, 56, ENC_NA); - offset += 7; + /*offset += 7;*/ return(len); } @@ -481,7 +481,7 @@ de_bmaple_client(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint3 /* Extract the client subtype and add to protocol tree */ proto_tree_add_bits_item(tree, hf_gsm_bssmap_le_client_subtype, tvb, bitCount, 4, ENC_BIG_ENDIAN); - bitCount = bitCount + 4; + /*bitCount = bitCount + 4;*/ curr_offset++; return(curr_offset - offset); @@ -543,7 +543,7 @@ de_bmaple_lcs_qos(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint } proto_tree_add_bits_item(tree, hf_gsm_bssmap_le_response_time_category, tvb, bitCount, 2, ENC_BIG_ENDIAN); - bitCount = bitCount + 2; + /*bitCount = bitCount + 2;*/ return(len); } |