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_dreg.c | |
parent | f298effccd5b7e900a4893ccfcc1c0a8a5826c4c (diff) | |
download | wireshark-f161dc95fa963b122aa476dd7be5e0275433558c.tar.gz |
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=38150
Diffstat (limited to 'plugins/wimax/msg_dreg.c')
-rw-r--r-- | plugins/wimax/msg_dreg.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/wimax/msg_dreg.c b/plugins/wimax/msg_dreg.c index 9217e6485f..aaf13332f5 100644 --- a/plugins/wimax/msg_dreg.c +++ b/plugins/wimax/msg_dreg.c @@ -148,12 +148,6 @@ Action Code 03 cancels this restriction"}, /* Decode sub-TLV's of either DREG-REQ or DREG-CMD. */ static void dissect_dreg_tlv(proto_tree *dreg_tree, gint tlv_type, tvbuff_t *tvb, guint tlv_offset, guint tlv_len) { - guint tvb_len; - /*guint tlv_len;*/ - - /* Get the tvb reported length */ - tvb_len = tvb_reported_length(tvb); - switch (tlv_type) { case DREG_PAGING_INFO: proto_tree_add_item(dreg_tree, hf_dreg_paging_cycle, tvb, tlv_offset, 2, FALSE); |