From 30d2e37c8490fd895a6146185179c3c2979807e3 Mon Sep 17 00:00:00 2001 From: etxrab Date: Sun, 23 Oct 2011 20:24:23 +0000 Subject: Try to get rid of "defined but not used" warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39522 f5534014-38df-0310-8fa8-9805f1628bb7 --- asn1/t124/packet-t124-template.c | 7 +------ asn1/t124/t124.cnf | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'asn1') diff --git a/asn1/t124/packet-t124-template.c b/asn1/t124/packet-t124-template.c index f15a86a636..0b1238db0d 100644 --- a/asn1/t124/packet-t124-template.c +++ b/asn1/t124/packet-t124-template.c @@ -193,8 +193,7 @@ void proto_register_t124(void) { &ett_t124_connectGCCPDU, #include "packet-t124-ettarr.c" }; - per_type_fn warning_suppressor; - + /* Register protocol */ proto_t124 = proto_register_protocol(PNAME, PSNAME, PFNAME); /* Register fields and subtrees */ @@ -206,10 +205,6 @@ void proto_register_t124(void) { new_register_dissector("t124", dissect_t124_new, proto_t124); - /* suppress some warnings */ - warning_suppressor = dissect_t124_GCCPDU; - warning_suppressor = dissect_t124_ConnectMCSPDU; - } void diff --git a/asn1/t124/t124.cnf b/asn1/t124/t124.cnf index 851c2082e3..2f7c1600c0 100644 --- a/asn1/t124/t124.cnf +++ b/asn1/t124/t124.cnf @@ -8,6 +8,10 @@ ConnectData ConnectGCCPDU #.END +#.OMIT_ASSIGNMENT +GCCPDU +ConnectMCSPDU + #.PDU #---------------------------------------------------------------------------------------- -- cgit v1.2.3