diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-02-20 00:53:19 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-02-20 00:53:19 +0000 |
commit | 552e98b7a39043d06ae98631878773bd736a90bd (patch) | |
tree | 3c3faefb4148d0abd2796f9caa9f05c70235ceca | |
parent | 75168f6bf7288858ec86e9c995ca6e0ff2abdd1a (diff) |
Fix Coverity CID 984638: Unused pointer value.
svn path=/trunk/; revision=47754
-rw-r--r-- | epan/dissectors/packet-hartip.c | 2 |
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; |