diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-10-01 02:13:15 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-10-01 02:13:15 +0000 |
commit | c90ab1ede14221702442e0b73706fea0d93c643f (patch) | |
tree | e13dbb78f07652a969a4e7c66a19d172966fb0b0 | |
parent | 26220c85c26d3d2f394cc7a6d5e9051a8e670e26 (diff) |
Fix "unused_but_set_variable" GCC warning: Remove apparently unneeded code.
svn path=/trunk/; revision=39207
-rw-r--r-- | epan/dissectors/packet-smb2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb2.c b/epan/dissectors/packet-smb2.c index 22aa6f0adf..3048ca9b4b 100644 --- a/epan/dissectors/packet-smb2.c +++ b/epan/dissectors/packet-smb2.c @@ -4006,7 +4006,6 @@ dissect_smb2_NETWORK_INTERFACE_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tre int len=-1; proto_item *sub_item=NULL; proto_tree *sub_tree=NULL; - proto_item *parent_item=NULL; proto_item *item=NULL; guint32 capabilities; guint64 link_speed; @@ -4021,7 +4020,6 @@ dissect_smb2_NETWORK_INTERFACE_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tre if(parent_tree){ sub_item = proto_tree_add_text(parent_tree, tvb, offset, len, "Network Interface"); sub_tree = proto_item_add_subtree(sub_item, ett_smb2_ioctl_network_interface); - parent_item = proto_tree_get_parent(parent_tree); } /* next offset */ |