diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-07-21 19:10:10 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-07-21 19:10:10 +0000 |
commit | f161dc95fa963b122aa476dd7be5e0275433558c (patch) | |
tree | ab625cb13b8ef7802f30dcf0a634d26744c2a92b /plugins/wimax/msg_dcd.c | |
parent | f298effccd5b7e900a4893ccfcc1c0a8a5826c4c (diff) |
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=38150
Diffstat (limited to 'plugins/wimax/msg_dcd.c')
-rw-r--r-- | plugins/wimax/msg_dcd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/wimax/msg_dcd.c b/plugins/wimax/msg_dcd.c index 5b4c58517c..0124bb470f 100644 --- a/plugins/wimax/msg_dcd.c +++ b/plugins/wimax/msg_dcd.c @@ -339,7 +339,6 @@ void dissect_mac_mgmt_msg_dcd_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_t { guint offset = 0; guint tvb_len, payload_type, length; - guint configChangeCount; gint tlv_type, tlv_len, tlv_offset, tlv_value_offset; guint dl_burst_diuc, dl_num_regions; proto_item *dcd_item = NULL; @@ -372,8 +371,6 @@ void dissect_mac_mgmt_msg_dcd_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_t proto_tree_add_item(dcd_tree, hf_dcd_downlink_channel_id, tvb, offset, 1, FALSE); /* set the offset for the Configuration Change Count */ offset++; - /* get the Configuration Change Count */ - configChangeCount = tvb_get_guint8(tvb, offset); /* display the Configuration Change Count */ proto_tree_add_item(dcd_tree, hf_dcd_config_change_count, tvb, offset, 1, FALSE); /* set the offset for the TLV Encoded info */ |