aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sna.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2011-03-26 05:18:09 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2011-03-26 05:18:09 +0000
commit569855446ce4c2b5629b69cc5027788c838060cb (patch)
tree271995154707cb24bbb1cff85a6453ebd04a52ce /epan/dissectors/packet-sna.c
parentdb38548a603d35814666a82f96107e679b576dfc (diff)
remove a proto_item variable we dont need
coverity 1046 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36345 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sna.c')
-rw-r--r--epan/dissectors/packet-sna.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-sna.c b/epan/dissectors/packet-sna.c
index 8bac7e59d1..f51475686a 100644
--- a/epan/dissectors/packet-sna.c
+++ b/epan/dissectors/packet-sna.c
@@ -1196,7 +1196,7 @@ dissect_nlp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
proto_tree *parent_tree)
{
proto_tree *nlp_tree, *bf_tree;
- proto_item *nlp_item, *bf_item, *h_item;
+ proto_item *nlp_item, *bf_item;
guint8 nhdr_0, nhdr_1, nhdr_x, thdr_8, thdr_9, fid;
guint32 thdr_len, thdr_dlf;
guint16 subindex;
@@ -1251,7 +1251,7 @@ dissect_nlp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
counter ++;
} while (nhdr_x != 0xff);
if (tree)
- h_item = proto_tree_add_item(nlp_tree,
+ proto_tree_add_item(nlp_tree,
hf_sna_nlp_fra, tvb, index, counter, FALSE);
index += counter;
if (tree)
@@ -1282,7 +1282,7 @@ dissect_nlp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
counter ++;
} while (nhdr_x != 0xff);
if (tree)
- h_item = proto_tree_add_item(nlp_tree, hf_sna_nlp_anr,
+ proto_tree_add_item(nlp_tree, hf_sna_nlp_anr,
tvb, index, counter, FALSE);
index += counter;