aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-02-17 20:00:53 +0000
committerGuy Harris <guy@alum.mit.edu>2013-02-17 20:00:53 +0000
commit61f7b3e031739780174acc06f2c413f59ad141bb (patch)
treeea4fd583546515f0ced0ef8a11c14b0d8aa4d7b1
parent947da615c4bcb1ccce667bed16efa660de52771f (diff)
Squelch some more warnings.
svn path=/trunk/; revision=47717
-rw-r--r--asn1/isdn-sup/packet-isdn-sup-template.c4
-rw-r--r--epan/dissectors/packet-isdn-sup.c8
2 files changed, 10 insertions, 2 deletions
diff --git a/asn1/isdn-sup/packet-isdn-sup-template.c b/asn1/isdn-sup/packet-isdn-sup-template.c
index 226a73c3b4..b96762e226 100644
--- a/asn1/isdn-sup/packet-isdn-sup-template.c
+++ b/asn1/isdn-sup/packet-isdn-sup-template.c
@@ -203,11 +203,15 @@ dissect_isdn_sup_res(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *
void proto_reg_handoff_isdn_sup(void) {
int i;
+#if 0
dissector_handle_t q931_handle;
+#endif
dissector_handle_t isdn_sup_arg_handle;
dissector_handle_t isdn_sup_res_handle;
+#if 0
q931_handle = find_dissector("q931");
+#endif
isdn_sup_arg_handle = new_create_dissector_handle(dissect_isdn_sup_arg, proto_isdn_sup);
isdn_sup_res_handle = new_create_dissector_handle(dissect_isdn_sup_res, proto_isdn_sup);
diff --git a/epan/dissectors/packet-isdn-sup.c b/epan/dissectors/packet-isdn-sup.c
index afbe3316b5..bf7fa164cb 100644
--- a/epan/dissectors/packet-isdn-sup.c
+++ b/epan/dissectors/packet-isdn-sup.c
@@ -1162,11 +1162,15 @@ dissect_isdn_sup_res(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *
void proto_reg_handoff_isdn_sup(void) {
int i;
+#if 0
dissector_handle_t q931_handle;
+#endif
dissector_handle_t isdn_sup_arg_handle;
dissector_handle_t isdn_sup_res_handle;
+#if 0
q931_handle = find_dissector("q931");
+#endif
isdn_sup_arg_handle = new_create_dissector_handle(dissect_isdn_sup_arg, proto_isdn_sup);
isdn_sup_res_handle = new_create_dissector_handle(dissect_isdn_sup_res, proto_isdn_sup);
@@ -1476,7 +1480,7 @@ void proto_register_isdn_sup(void) {
NULL, HFILL }},
/*--- End of included file: packet-isdn-sup-hfarr.c ---*/
-#line 236 "../../asn1/isdn-sup/packet-isdn-sup-template.c"
+#line 240 "../../asn1/isdn-sup/packet-isdn-sup-template.c"
};
/* List of subtrees */
@@ -1514,7 +1518,7 @@ void proto_register_isdn_sup(void) {
&ett_isdn_sup_ServedUserNumberList,
/*--- End of included file: packet-isdn-sup-ettarr.c ---*/
-#line 243 "../../asn1/isdn-sup/packet-isdn-sup-template.c"
+#line 247 "../../asn1/isdn-sup/packet-isdn-sup-template.c"
};
/* Register fields and subtrees */