aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wsmp.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2011-05-12 17:16:45 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2011-05-12 17:16:45 +0000
commita01a5271667fb2938270cb4a492c54160d1eb0f8 (patch)
tree896beeda871d6c773bcd972aa1ffd0877e46e069 /epan/dissectors/packet-wsmp.c
parentb680407847c4b200f6e511073178b999527e9980 (diff)
Delete acm as it is assigned but never used. Fixes Coverity 1072.
svn path=/trunk/; revision=37085
Diffstat (limited to 'epan/dissectors/packet-wsmp.c')
-rw-r--r--epan/dissectors/packet-wsmp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-wsmp.c b/epan/dissectors/packet-wsmp.c
index aa25352fd5..c589bd9e78 100644
--- a/epan/dissectors/packet-wsmp.c
+++ b/epan/dissectors/packet-wsmp.c
@@ -62,7 +62,6 @@ dissect_wsmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *wsmp_tree, *wsmdata_tree;
tvbuff_t *wsmdata_tvb;
guint16 acmlength, wsmlength, offset;
- char* acm;
/* Make entries in Protocol column and Info column on summary display */
col_set_str(pinfo->cinfo, COL_PROTOCOL, "WSMP");
@@ -106,7 +105,6 @@ dissect_wsmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
hf_wsmp_acmlength, tvb, offset, 1, FALSE);
offset ++;
- acm = tvb_get_ephemeral_string(tvb, offset, acmlength);
proto_tree_add_item(wsmp_tree, hf_wsmp_acm, tvb, offset, acmlength, FALSE);
offset +=acmlength;