From 37a91449cbd5ed37ebf05a224495244e50f14ce6 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Mon, 13 Oct 2008 19:54:48 +0000 Subject: Try to get rid of unused code warnings. svn path=/trunk/; revision=26445 --- asn1/s1ap/packet-s1ap-template.c | 9 +-------- asn1/s1ap/s1ap.cnf | 2 ++ 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'asn1') diff --git a/asn1/s1ap/packet-s1ap-template.c b/asn1/s1ap/packet-s1ap-template.c index c86d3c9cec..43daf99f93 100644 --- a/asn1/s1ap/packet-s1ap-template.c +++ b/asn1/s1ap/packet-s1ap-template.c @@ -88,7 +88,6 @@ static dissector_table_t s1ap_extension_dissector_table; static dissector_table_t s1ap_proc_imsg_dissector_table; static dissector_table_t s1ap_proc_sout_dissector_table; static dissector_table_t s1ap_proc_uout_dissector_table; -static dissector_table_t s1ap_proc_out_dissector_table; static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); static int dissect_ProtocolIEFieldPairFirstValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); @@ -97,7 +96,6 @@ static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_in static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); static int dissect_SuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); -static int dissect_OutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); #include "packet-s1ap-fn.c" @@ -136,10 +134,6 @@ static int dissect_UnsuccessfulOutcomeValue(tvbuff_t *tvb, packet_info *pinfo, p return (dissector_try_port(s1ap_proc_uout_dissector_table, ProcedureCode, tvb, pinfo, tree)) ? tvb_length(tvb) : 0; } -static int dissect_OutcomeValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) -{ - return (dissector_try_port(s1ap_proc_out_dissector_table, ProcedureCode, tvb, pinfo, tree)) ? tvb_length(tvb) : 0; -} static void dissect_s1ap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) @@ -213,8 +207,7 @@ void proto_register_s1ap(void) { s1ap_proc_imsg_dissector_table = register_dissector_table("s1ap.proc.imsg", "S1AP-ELEMENTARY-PROCEDURE InitiatingMessage", FT_UINT32, BASE_DEC); s1ap_proc_sout_dissector_table = register_dissector_table("s1ap.proc.sout", "S1AP-ELEMENTARY-PROCEDURE SuccessfulOutcome", FT_UINT32, BASE_DEC); s1ap_proc_uout_dissector_table = register_dissector_table("s1ap.proc.uout", "S1AP-ELEMENTARY-PROCEDURE UnsuccessfulOutcome", FT_UINT32, BASE_DEC); - s1ap_proc_out_dissector_table = register_dissector_table("s1ap.proc.out", "S1AP-ELEMENTARY-PROCEDURE Outcome", FT_UINT32, BASE_DEC); - + /* Register configuration options for ports */ s1ap_module = prefs_register_protocol(proto_s1ap, proto_reg_handoff_s1ap); diff --git a/asn1/s1ap/s1ap.cnf b/asn1/s1ap/s1ap.cnf index c16f87051f..354278f6d6 100644 --- a/asn1/s1ap/s1ap.cnf +++ b/asn1/s1ap/s1ap.cnf @@ -28,8 +28,10 @@ ProtocolIE-ContainerPairList ProtocolError-IE-ContainerList PrivateIE-Container PrivateIE-Field +PrivateIE-ID SAEB-IE-ContainerPairList +UEPagingID Presence #.END -- cgit v1.2.3