aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bmc.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2012-07-04 10:08:22 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2012-07-04 10:08:22 +0000
commitc529c306d43172a0981dd7988bb5e97cbc766d0c (patch)
treeb6d460d506323824dc2360675666dff36a942c17 /epan/dissectors/packet-bmc.c
parent5d18b53bda30bb3cc048fb77c99ef9b0f2a3b053 (diff)
From Evan Huus via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7433 :
Remove unused mask variable in packet-bmc.c svn path=/trunk/; revision=43565
Diffstat (limited to 'epan/dissectors/packet-bmc.c')
-rw-r--r--epan/dissectors/packet-bmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bmc.c b/epan/dissectors/packet-bmc.c
index 0527a907cc..2f590d1f60 100644
--- a/epan/dissectors/packet-bmc.c
+++ b/epan/dissectors/packet-bmc.c
@@ -170,7 +170,7 @@ dissect_bmc_schedule_message(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *
guint8 future_extension_bitmap;
guint8 length_of_serial_number_list;
guint8 entry;
- guint8 mask, bit;
+ guint8 bit;
proto_tree *message_description_tree;
proto_item *ti;
@@ -194,7 +194,7 @@ dissect_bmc_schedule_message(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *
bit=1;
for (i=0; i<new_message_bitmap_len; i++) {
- for(mask=1; bit<=length_of_cbs_schedule_period; mask<<=1, bit++) {
+ for(; bit<=length_of_cbs_schedule_period; bit++) {
message_description_type = tvb_get_guint8(tvb,offset);
proto_tree_add_uint_format(message_description_tree, hf_bmc_message_description_type,
tvb, offset, 1, message_description_type,