aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-windows-common.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2011-05-13 19:15:21 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2011-05-13 19:15:21 +0000
commit0ea2cd66e7fa5f51097819356cfe392872c9f551 (patch)
treeca061fc39803c52f66a9401cd125117429c90951 /epan/dissectors/packet-windows-common.c
parentf96589758ae404be688966b961150044b931dbf2 (diff)
Delete assignment of item as it's not used. Fixes Coverity CID 869.
svn path=/trunk/; revision=37131
Diffstat (limited to 'epan/dissectors/packet-windows-common.c')
-rw-r--r--epan/dissectors/packet-windows-common.c5
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,