aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-23 20:24:23 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-10-23 20:24:23 +0000
commit30d2e37c8490fd895a6146185179c3c2979807e3 (patch)
treeebcee64e74386a94867e4341edd9fc479bdf09a2 /asn1
parent29b557663dfbaeef1268473d2d566920057af128 (diff)
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
Diffstat (limited to 'asn1')
-rw-r--r--asn1/t124/packet-t124-template.c7
-rw-r--r--asn1/t124/t124.cnf4
2 files changed, 5 insertions, 6 deletions
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
#----------------------------------------------------------------------------------------