aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-10-14 19:07:26 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-10-14 19:07:26 +0000
commit57660e3fb6cb142b9768e661bedb1e19c2c71ed0 (patch)
treee4ed958472400a290479a350089aeed200c8fd9b /asn1
parentf9172ec5aaf68074cb2a21c5710d9bec128797bc (diff)
Try to get rid of unused code warnings.
svn path=/trunk/; revision=26455
Diffstat (limited to 'asn1')
-rw-r--r--asn1/s1ap/packet-s1ap-template.c5
-rw-r--r--asn1/s1ap/s1ap.cnf1
-rw-r--r--asn1/x2ap/x2ap.cnf9
3 files changed, 11 insertions, 4 deletions
diff --git a/asn1/s1ap/packet-s1ap-template.c b/asn1/s1ap/packet-s1ap-template.c
index 43daf99f93..46839ff1f1 100644
--- a/asn1/s1ap/packet-s1ap-template.c
+++ b/asn1/s1ap/packet-s1ap-template.c
@@ -90,8 +90,10 @@ static dissector_table_t s1ap_proc_sout_dissector_table;
static dissector_table_t s1ap_proc_uout_dissector_table;
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
+/* Currently not used
static int dissect_ProtocolIEFieldPairFirstValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
static int dissect_ProtocolIEFieldPairSecondValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
+*/
static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
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);
@@ -103,7 +105,7 @@ static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto
{
return (dissector_try_port(s1ap_ies_dissector_table, ProtocolIE_ID, tvb, pinfo, tree)) ? tvb_length(tvb) : 0;
}
-
+/* Currently not used
static int dissect_ProtocolIEFieldPairFirstValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
return (dissector_try_port(s1ap_ies_p1_dissector_table, ProtocolIE_ID, tvb, pinfo, tree)) ? tvb_length(tvb) : 0;
@@ -113,6 +115,7 @@ static int dissect_ProtocolIEFieldPairSecondValue(tvbuff_t *tvb, packet_info *pi
{
return (dissector_try_port(s1ap_ies_p2_dissector_table, ProtocolIE_ID, tvb, pinfo, tree)) ? tvb_length(tvb) : 0;
}
+*/
static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
diff --git a/asn1/s1ap/s1ap.cnf b/asn1/s1ap/s1ap.cnf
index 354278f6d6..d836783b62 100644
--- a/asn1/s1ap/s1ap.cnf
+++ b/asn1/s1ap/s1ap.cnf
@@ -32,6 +32,7 @@ PrivateIE-ID
SAEB-IE-ContainerPairList
UEPagingID
+IMSI
Presence
#.END
diff --git a/asn1/x2ap/x2ap.cnf b/asn1/x2ap/x2ap.cnf
index fbadf87cf1..566e9432ab 100644
--- a/asn1/x2ap/x2ap.cnf
+++ b/asn1/x2ap/x2ap.cnf
@@ -11,6 +11,9 @@ ALIGNED
#.OMIT_ASSIGNMENT
# Get rid of unused code warnings
PrivateMessage
+PrivateIE-Container
+PrivateIE-Field
+PrivateIE-ID
#.END
#.PDU
@@ -25,7 +28,7 @@ ProtocolIE-ID
#.TYPE_RENAME
ProtocolIE-Field/value ProtocolIE_Field_value
-PrivateIE-Field/value PrivateIE_Field_value
+#PrivateIE-Field/value PrivateIE_Field_value
InitiatingMessage/value InitiatingMessage_value
SuccessfulOutcome/value SuccessfulOutcome_value
UnsuccessfulOutcome/value UnsuccessfulOutcome_value
@@ -33,12 +36,12 @@ UnsuccessfulOutcome/value UnsuccessfulOutcome_value
#.FIELD_RENAME
ProtocolExtensionField/id extension_id
-PrivateIE-Field/id private_id
+#PrivateIE-Field/id private_id
InitiatingMessage/value initiatingMessage_value
ProtocolIE-Field/value protocolIE_Field_value
SuccessfulOutcome/value successfulOutcome_value
-PrivateIE-Field/value privateIE_Field_value
+#PrivateIE-Field/value privateIE_Field_value
#.OMIT_ASSIGNMENT
Presence