From b3aa52f5734942c2013c0ba9fd1dc498aa6bc633 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Thu, 15 May 2008 12:54:27 +0000 Subject: Fix some of the Errors/warnings detected by checkapi. svn path=/trunk/; revision=25307 --- epan/dissectors/packet-qllc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'epan/dissectors/packet-qllc.c') diff --git a/epan/dissectors/packet-qllc.c b/epan/dissectors/packet-qllc.c index 65b7e3c8a2..4b2db281c4 100644 --- a/epan/dissectors/packet-qllc.c +++ b/epan/dissectors/packet-qllc.c @@ -140,8 +140,10 @@ dissect_qllc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Add the field for filtering purposes */ if (tree) { - proto_tree_add_uint_hidden(qllc_tree, hf_qllc_control, tvb, + proto_item *hidden_item; + hidden_item = proto_tree_add_uint(qllc_tree, hf_qllc_control, tvb, 1, 1, ctrl); + PROTO_ITEM_SET_HIDDEN(hidden_item); } } else { -- cgit v1.2.3