diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-13 19:15:21 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-13 19:15:21 +0000 |
commit | 0ea2cd66e7fa5f51097819356cfe392872c9f551 (patch) | |
tree | ca061fc39803c52f66a9401cd125117429c90951 /epan | |
parent | f96589758ae404be688966b961150044b931dbf2 (diff) |
Delete assignment of item as it's not used. Fixes Coverity CID 869.
svn path=/trunk/; revision=37131
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-windows-common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-windows-common.c b/epan/dissectors/packet-windows-common.c index 0a4b48ab79..a31f171c8d 100644 --- a/epan/dissectors/packet-windows-common.c +++ b/epan/dissectors/packet-windows-common.c @@ -1699,9 +1699,8 @@ dissect_nt_sid(tvbuff_t *tvb, int offset, proto_tree *parent_tree, tvb, offset_sid_start+2, 6, authority, "%" G_GINT64_MODIFIER "u", authority); /* Add subauthorities */ - item = proto_tree_add_string_format ( - subtree, hf_nt_sid_subauth, tvb, sa_offset, num_auth*4, sa_str->str, "Subauthorities: %s", sa_str->str - ); + proto_tree_add_string_format (subtree, hf_nt_sid_subauth, tvb, sa_offset, + num_auth*4, sa_str->str, "Subauthorities: %s", sa_str->str); if (rid) { item = proto_tree_add_item (subtree, |