aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-m2ua.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-05-15 01:44:53 +0000
committerBill Meier <wmeier@newsguy.com>2008-05-15 01:44:53 +0000
commit931cc922a14049c904a6ac416656c36caf01d6b3 (patch)
tree3d1112b08a02413f491bfad24d294022e8ef867c /epan/dissectors/packet-m2ua.c
parent78f4e06717899b3e6504300f3b47e61bc3989ee6 (diff)
Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25305
Diffstat (limited to 'epan/dissectors/packet-m2ua.c')
-rw-r--r--epan/dissectors/packet-m2ua.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-m2ua.c b/epan/dissectors/packet-m2ua.c
index ff5492b417..8544e3080a 100644
--- a/epan/dissectors/packet-m2ua.c
+++ b/epan/dissectors/packet-m2ua.c
@@ -900,7 +900,9 @@ dissect_parameter(tvbuff_t *parameter_tvb, packet_info *pinfo, proto_tree *tree,
if ((protocol_data_1_global == PROTOCOL_DATA_1_DRAFT_7) &&
(tag == PROTOCOL_DATA_1_DRAFT_7))
{
- proto_tree_add_uint_hidden(parameter_tree, hf_parameter_tag, parameter_tvb, PARAMETER_TAG_OFFSET, PARAMETER_TAG_LENGTH, tag);
+ proto_item *hidden_item;
+ hidden_item = proto_tree_add_uint(parameter_tree, hf_parameter_tag, parameter_tvb, PARAMETER_TAG_OFFSET, PARAMETER_TAG_LENGTH, tag);
+ PROTO_ITEM_SET_HIDDEN(hidden_item);
/* add tag and length to the m2ua tree */
proto_tree_add_text(parameter_tree, parameter_tvb, PARAMETER_TAG_OFFSET, PARAMETER_TAG_LENGTH,