aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hartip.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-02-20 00:53:19 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-02-20 00:53:19 +0000
commit552e98b7a39043d06ae98631878773bd736a90bd (patch)
tree3c3faefb4148d0abd2796f9caa9f05c70235ceca /epan/dissectors/packet-hartip.c
parent75168f6bf7288858ec86e9c995ca6e0ff2abdd1a (diff)
Fix Coverity CID 984638: Unused pointer value.
svn path=/trunk/; revision=47754
Diffstat (limited to 'epan/dissectors/packet-hartip.c')
-rw-r--r--epan/dissectors/packet-hartip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hartip.c b/epan/dissectors/packet-hartip.c
index 4a5719426c..f92bd4257a 100644
--- a/epan/dissectors/packet-hartip.c
+++ b/epan/dissectors/packet-hartip.c
@@ -901,7 +901,7 @@ dissect_hartip_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
msg_id_str, msg_type_str, transaction_id);
col_set_fence(pinfo->cinfo, COL_INFO);
- ti = proto_tree_add_item(hdr_tree, hf_hartip_hdr_msg_length, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(hdr_tree, hf_hartip_hdr_msg_length, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
bodylen = length - HARTIP_HEADER_LENGTH;