diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-05-21 05:41:39 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-05-21 05:41:39 +0000 |
commit | 45b3155321b9c080a7bd27c262a132d4eef7a873 (patch) | |
tree | 1f9bc7a3f013fc8d55588e5bdd0414a03bb70406 /epan/dissectors/packet-q932.c | |
parent | aaeee9accaddf89263d40fbe20a57affecbeefc4 (diff) |
Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25335
Diffstat (limited to 'epan/dissectors/packet-q932.c')
-rw-r--r-- | epan/dissectors/packet-q932.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-q932.c b/epan/dissectors/packet-q932.c index 6c07cff35c..8cf553832f 100644 --- a/epan/dissectors/packet-q932.c +++ b/epan/dissectors/packet-q932.c @@ -578,7 +578,7 @@ static const value_string q932_NetworkProtocolProfile_U_vals[] = { static int dissect_q932_NetworkProtocolProfile_U(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, - NULL); + NULL); return offset; } @@ -755,7 +755,8 @@ dissect_q932_ie(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { offset = 0; - ti = proto_tree_add_item_hidden(tree, proto_q932, tvb, offset, -1, FALSE); + ti = proto_tree_add_item(tree, proto_q932, tvb, offset, -1, FALSE); + PROTO_ITEM_SET_HIDDEN(ti); ie_type = tvb_get_guint8(tvb, offset); ie_len = tvb_get_guint8(tvb, offset + 1); @@ -961,7 +962,7 @@ void proto_register_q932(void) { "q932.AddressInformation", HFILL }}, /*--- End of included file: packet-q932-hfarr.c ---*/ -#line 298 "packet-q932-template.c" +#line 299 "packet-q932-template.c" }; /* List of subtrees */ @@ -986,7 +987,7 @@ void proto_register_q932(void) { &ett_q932_NetworkFacilityExtension_U, /*--- End of included file: packet-q932-ettarr.c ---*/ -#line 305 "packet-q932-template.c" +#line 306 "packet-q932-template.c" }; /* Register protocol and dissector */ |