diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-05-15 12:54:27 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-05-15 12:54:27 +0000 |
commit | b3aa52f5734942c2013c0ba9fd1dc498aa6bc633 (patch) | |
tree | a68913572172b7b8466961c14bf3d74555f4bd86 /epan/dissectors/packet-qllc.c | |
parent | 558c1b5ee62c85cc5065849a162599e36eb44d1e (diff) |
Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25307
Diffstat (limited to 'epan/dissectors/packet-qllc.c')
-rw-r--r-- | epan/dissectors/packet-qllc.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |