aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-a21.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-05-05 08:44:27 +0200
committerAnders Broman <a.broman58@gmail.com>2014-05-05 11:19:42 +0000
commit491a321c37eb8e6028195dc310967d0f6f50c164 (patch)
treefa1ff95164af78a4120f8932d65e46b2365b4ee2 /epan/dissectors/packet-a21.c
parent56b8c9e29413256905d29065617c5dbdf23e4d04 (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I35ed4c0ecc28dee57d7a4cac8ddbf43d16b39677 Reviewed-on: https://code.wireshark.org/review/1501 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-a21.c')
-rw-r--r--epan/dissectors/packet-a21.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-a21.c b/epan/dissectors/packet-a21.c
index becd3d360b..31acf42a96 100644
--- a/epan/dissectors/packet-a21.c
+++ b/epan/dissectors/packet-a21.c
@@ -266,7 +266,7 @@ dissect_a21_authentication_challenge_parameter(tvbuff_t *tvb, packet_info *pinfo
switch(type){
case 1:
proto_tree_add_item(tree, hf_a21_auth_chall_para_rand_value, tvb, offset, 4, ENC_BIG_ENDIAN);
- offset +=4;
+ /*offset +=4;*/
break;
default:
proto_tree_add_text(tree, tvb, offset, -1, "Random Number Type Reserved");
@@ -463,11 +463,11 @@ dissect_a21_event(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, proto
if(length>1){
if(event_id == 7){
proto_tree_add_item(tree, hf_a21_allowed_foward_link_message, tvb, offset, 2, ENC_BIG_ENDIAN);
- offset +=2;
+ /*offset +=2;*/
}
else{
proto_tree_add_item(tree, hf_a21_additional_event_info, tvb, offset, 2, ENC_BIG_ENDIAN);
- offset +=2;
+ /*offset +=2;*/
}
}