From 87704160b71f85073adf75829647875a4d2f3ee8 Mon Sep 17 00:00:00 2001 From: Chris Maynard Date: Mon, 8 Aug 2011 20:16:45 +0000 Subject: Fix Coverity CID 1242: Pointer "ti" returned by proto_tree_add_uint64() is never used. svn path=/trunk/; revision=38418 --- epan/dissectors/packet-xtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-xtp.c') diff --git a/epan/dissectors/packet-xtp.c b/epan/dissectors/packet-xtp.c index ddd804868d..916a8d626c 100644 --- a/epan/dissectors/packet-xtp.c +++ b/epan/dissectors/packet-xtp.c @@ -1002,7 +1002,7 @@ dissect_xtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { xtp_tree = proto_item_add_subtree(ti, ett_xtp); /* key(8) */ offset = 0; - ti = proto_tree_add_uint64(xtp_tree, hf_xtp_key, + proto_tree_add_uint64(xtp_tree, hf_xtp_key, tvb, offset, 8, xtph->key); offset += 8; /* cmd(4) */ -- cgit v1.2.3