diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-05-14 01:47:41 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-05-14 01:47:41 +0000 |
commit | 44af6ef887427d09d1f3e0465b964fd1c4395909 (patch) | |
tree | b536e8eee183ff80de1e82a6513650d3c4892826 /epan/dissectors/packet-brdwlk.c | |
parent | cae5293711372f6a3a72517c122150242e983330 (diff) |
Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25290
Diffstat (limited to 'epan/dissectors/packet-brdwlk.c')
-rw-r--r-- | epan/dissectors/packet-brdwlk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/dissectors/packet-brdwlk.c b/epan/dissectors/packet-brdwlk.c index 1a74ccca7c..f48b59908d 100644 --- a/epan/dissectors/packet-brdwlk.c +++ b/epan/dissectors/packet-brdwlk.c @@ -222,7 +222,7 @@ dissect_brdwlk (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { /* Set up structures needed to add the protocol subtree and manage it */ - proto_item *ti; + proto_item *ti, *hidden_item; proto_tree *brdwlk_tree = NULL; tvbuff_t *next_tvb; guint8 error, eof, sof; @@ -334,8 +334,9 @@ dissect_brdwlk (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } if (tree) { - proto_tree_add_boolean_hidden (brdwlk_tree, hf_brdwlk_drop, + hidden_item = proto_tree_add_boolean (brdwlk_tree, hf_brdwlk_drop, tvb, offset, 0, dropped_packets); + PROTO_ITEM_SET_HIDDEN(hidden_item); } } packet_count = pkt_cnt; |