aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax/msg_dsc.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-07-21 19:10:10 +0000
committerBill Meier <wmeier@newsguy.com>2011-07-21 19:10:10 +0000
commitf161dc95fa963b122aa476dd7be5e0275433558c (patch)
treeab625cb13b8ef7802f30dcf0a634d26744c2a92b /plugins/wimax/msg_dsc.c
parentf298effccd5b7e900a4893ccfcc1c0a8a5826c4c (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_dsc.c')
-rw-r--r--plugins/wimax/msg_dsc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/wimax/msg_dsc.c b/plugins/wimax/msg_dsc.c
index 9f422c88fd..87e518ea65 100644
--- a/plugins/wimax/msg_dsc.c
+++ b/plugins/wimax/msg_dsc.c
@@ -68,7 +68,6 @@ void dissect_mac_mgmt_msg_dsc_req_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
{
guint offset = 0;
guint tvb_len, payload_type;
- guint dsc_transaction_id;
proto_item *dsc_item = NULL;
proto_tree *dsc_tree = NULL;
@@ -91,8 +90,6 @@ void dissect_mac_mgmt_msg_dsc_req_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
proto_tree_add_item(dsc_tree, hf_dsc_req_message_type, tvb, offset, 1, FALSE);
/* move to next field */
offset++;
- /* get the Configuration Change Count */
- dsc_transaction_id = tvb_get_ntohs(tvb, offset);
/* display the Transaction ID */
proto_tree_add_item(dsc_tree, hf_dsc_transaction_id, tvb, offset, 2, FALSE);
/* move to next field */
@@ -106,7 +103,6 @@ void dissect_mac_mgmt_msg_dsc_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
{
guint offset = 0;
guint tvb_len, payload_type;
- guint dsc_transaction_id;
proto_item *dsc_item = NULL;
proto_tree *dsc_tree = NULL;
@@ -129,8 +125,6 @@ void dissect_mac_mgmt_msg_dsc_rsp_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
proto_tree_add_item(dsc_tree, hf_dsc_rsp_message_type, tvb, offset, 1, FALSE);
/* move to next field */
offset++;
- /* get the Configuration Change Count */
- dsc_transaction_id = tvb_get_ntohs(tvb, offset);
/* display the Transaction ID */
proto_tree_add_item(dsc_tree, hf_dsc_transaction_id, tvb, offset, 2, FALSE);
/* move to next field */
@@ -148,7 +142,6 @@ void dissect_mac_mgmt_msg_dsc_ack_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
{
guint offset = 0;
guint tvb_len, payload_type;
- guint dsc_transaction_id;
proto_item *dsc_item = NULL;
proto_tree *dsc_tree = NULL;
@@ -171,8 +164,6 @@ void dissect_mac_mgmt_msg_dsc_ack_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
proto_tree_add_item(dsc_tree, hf_dsc_ack_message_type, tvb, offset, 1, FALSE);
/* move to next field */
offset++;
- /* get the Configuration Change Count */
- dsc_transaction_id = tvb_get_ntohs(tvb, offset);
/* display the Transaction ID */
proto_tree_add_item(dsc_tree, hf_dsc_transaction_id, tvb, offset, 2, FALSE);
/* move to next field */