diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-08-08 19:27:14 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-08-08 19:27:14 +0000 |
commit | e59bb0ad7224dc3560c58077df0ac9695afb2049 (patch) | |
tree | ab94c7eed1d149970a7c1988f3554c167caf34a7 /epan/dissectors/packet-tftp.c | |
parent | 6bc757db3216ca04446c48a1588877339b84b41c (diff) |
Fix Coverity CID 1062: Pointer "ti" returned by proto_tree_add_item() is never used.
svn path=/trunk/; revision=38416
Diffstat (limited to 'epan/dissectors/packet-tftp.c')
-rw-r--r-- | epan/dissectors/packet-tftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tftp.c b/epan/dissectors/packet-tftp.c index 61a6d7a003..3930da28bc 100644 --- a/epan/dissectors/packet-tftp.c +++ b/epan/dissectors/packet-tftp.c @@ -217,8 +217,8 @@ static void dissect_tftp_message(tftp_conv_info_t *tftp_info, offset += i1; i1 = tvb_strsize(tvb, offset); - ti = proto_tree_add_item(tftp_tree, hf_tftp_transfer_type, - tvb, offset, i1, FALSE); + proto_tree_add_item(tftp_tree, hf_tftp_transfer_type, + tvb, offset, i1, FALSE); col_append_fstr(pinfo->cinfo, COL_INFO, ", Transfer type: %s", tvb_format_stringzpad(tvb, offset, i1)); |