aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gmr1_rr.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-03-10 17:51:18 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-03-10 17:51:18 +0000
commitb60c4783267bf24caa6b3a95d4bc9d6652a3524e (patch)
tree813330290b7d57c7bb3beb3cbdfe1cf5b5324835 /epan/dissectors/packet-gmr1_rr.c
parentbce5a791fca54416e79abe50996bfd17755129f6 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=41471
Diffstat (limited to 'epan/dissectors/packet-gmr1_rr.c')
-rw-r--r--epan/dissectors/packet-gmr1_rr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gmr1_rr.c b/epan/dissectors/packet-gmr1_rr.c
index 99f2ec8da3..99980e84ba 100644
--- a/epan/dissectors/packet-gmr1_rr.c
+++ b/epan/dissectors/packet-gmr1_rr.c
@@ -288,7 +288,7 @@ GMR1_IE_FUNC(gmr1_ie_rr_chan_desc)
/* Channel Type (5 bits) */
proto_tree_add_bits_item(tree, hf_rr_chan_desc_chan_type, tvb,
bit_offset, 5, ENC_BIG_ENDIAN);
- bit_offset += 5;
+ /*bit_offset += 5;*/
return 4;
}
@@ -472,7 +472,7 @@ GMR1_IE_FUNC(gmr1_ie_rr_timing_ofs)
/* Value */
proto_tree_add_bits_item(tree, hf_rr_timing_ofs_value, tvb,
bit_offset, 15, ENC_BIG_ENDIAN);
- bit_offset += 15;
+ /*bit_offset += 15;*/
return 2;
}
@@ -576,7 +576,7 @@ GMR1_IE_FUNC(gmr1_ie_rr_freq_ofs)
/* Spare */
proto_tree_add_bits_item(tree, hf_rr_freq_ofs_spare, tvb,
bit_offset, 3, ENC_BIG_ENDIAN);
- bit_offset += 3;
+ /*bit_offset += 3;*/
return 2;
}
@@ -718,7 +718,7 @@ GMR1_IE_FUNC(gmr1_ie_rr_bcch_carrier)
/* Spare */
proto_tree_add_bits_item(tree, hf_rr_bcch_carrier_spare,
tvb, bit_offset, 3, ENC_BIG_ENDIAN);
- bit_offset += 3;
+ /*bit_offset += 3;*/
return 2;
}