aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-12 17:21:49 +0000
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-12 17:21:49 +0000
commite0f2b8dbdd19aebbc457a03bf17c1cbf8283eaef (patch)
treee478cf9e9b5082dbff4745040e7af7d327c6e657
parent56017160bf3e1fe0e52bef889d11e8ce9ac805ee (diff)
Delete eth_addr; it was assigned a value but never used. Fixes Coverity 1070.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37087 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--epan/dissectors/packet-vmlab.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-vmlab.c b/epan/dissectors/packet-vmlab.c
index d75ee0d405..c53ca9259b 100644
--- a/epan/dissectors/packet-vmlab.c
+++ b/epan/dissectors/packet-vmlab.c
@@ -82,7 +82,6 @@ dissect_vmlab(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
const guint8* src_addr;
const guint8* dst_addr;
- const guint8* eth_addr;
guint8 attributes;
guint8 portgroup;
@@ -115,7 +114,6 @@ dissect_vmlab(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Not really clear, what the difference between this and the next MAC address is
Both are usually equal*/
- eth_addr=tvb_get_ptr(tvb, offset, 6);
proto_tree_add_item(vmlab_tree, hf_vmlab_eth_addr, tvb, offset, 6, ENC_NA);
offset += 6;