aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-22 15:17:48 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-22 22:18:12 +0000
commitab6a45aec605c4694b9094a7a9ace16e7e66c484 (patch)
tree58335f466d4842d66ee5a44af75d8f066dbb4ace /epan/dissectors
parent6896def6da1216bc697243ccc1527b76c6a5c0bd (diff)
Get rid of set-but-not-used variable.
Change-Id: Ic0f2c79b4bd9fc737bf33ef64512f4142d74de6b Reviewed-on: https://code.wireshark.org/review/2568 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-arp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-arp.c b/epan/dissectors/packet-arp.c
index b384b5d90b..59b4fa977f 100644
--- a/epan/dissectors/packet-arp.c
+++ b/epan/dissectors/packet-arp.c
@@ -850,7 +850,6 @@ dissect_atmarp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
const gchar *sha_str, *ssa_str, *spa_str;
const gchar *tha_str, *tsa_str, *tpa_str;
proto_tree *tl_tree;
- proto_item *tl;
/* Override the setting to "ARP/RARP". */
pinfo->current_proto = "ATMARP";
@@ -1162,7 +1161,7 @@ dissect_atmarp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_boolean(tl_tree, hf_atmarp_tht, tvb, ATM_AR_THTL, 1, ar_thtl);
proto_tree_add_uint(tl_tree, hf_atmarp_thl, tvb, ATM_AR_THTL, 1, ar_thtl);
- tl = proto_tree_add_subtree_format(arp_tree, tvb, ATM_AR_TSTL, 1,
+ proto_tree_add_subtree_format(arp_tree, tvb, ATM_AR_TSTL, 1,
ett_atmarp_tl, NULL,
"Target ATM subaddress type/length: %s/%u",
(ar_tstl & ATMARP_IS_E164 ?