Fix a warning in the RANAP dissector.
authorGuy Harris <guy@alum.mit.edu>
Wed, 22 Apr 2009 19:21:43 +0000 (19:21 -0000)
committerGuy Harris <guy@alum.mit.edu>
Wed, 22 Apr 2009 19:21:43 +0000 (19:21 -0000)
There don't seem to be any more RANAP warning, so put it back with the
clean dissectors.

svn path=/trunk/; revision=28132

asn1/ranap/packet-ranap-template.c
epan/dissectors/Makefile.common
epan/dissectors/packet-ranap.c

index 2e9e99c58d242a2c20c32542d93f6a2eae5ed9cb..2d8c5f84338b5abc704154d65ad41a945169788b 100644 (file)
@@ -139,7 +139,7 @@ void proto_reg_handoff_ranap(void);
 static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
 
-  int ret;
+  int ret = 0;
   int key;
 
   /* Special handling, same ID used for different IE's depending on signal */
index cd801f4ea5c0925a71b47022516acd50def874df..f385550f5bba1490682e34b39fd0a05ab722b95a 100644 (file)
@@ -169,7 +169,6 @@ DIRTY_ASN1_DISSECTOR_SRC = \
        packet-pcap.c \
        packet-pkcs12.c \
        packet-pres.c \
-       packet-ranap.c \
        packet-rnsap.c \
        packet-rrc.c \
        packet-rrlp.c \
@@ -712,6 +711,7 @@ DISSECTOR_SRC = \
        packet-radius.c         \
        packet-radius_packetcable.c     \
        packet-radiotap.c       \
+       packet-ranap.c          \
        packet-raw.c            \
        packet-rdm.c            \
        packet-rdt.c            \
index db1a7d9e0e098c1d0b0166a4acb5e703d51b8e20..4abdae1a1a323fa9dcd215d6e23d9625692c861c 100644 (file)
@@ -1,7 +1,7 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
 /* packet-ranap.c                                                             */
-/* ../../tools/asn2wrs.py -p ranap -c ranap.cnf -s packet-ranap-template RANAP-CommonDataTypes.asn RANAP-Constants.asn RANAP-Containers.asn RANAP-IEs.asn RANAP-PDU-Contents.asn RANAP-PDU-Descriptions.asn */
+/* ../../tools/asn2wrs.py -p ranap -c ./ranap.cnf -s ./packet-ranap-template -D . RANAP-CommonDataTypes.asn RANAP-Constants.asn RANAP-Containers.asn RANAP-IEs.asn RANAP-PDU-Contents.asn RANAP-PDU-Descriptions.asn */
 
 /* Input file: packet-ranap-template.c */
 
@@ -11563,7 +11563,7 @@ static int dissect_RANAP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, prot
 static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
 
-  int ret;
+  int ret = 0;
   int key;
 
   /* Special handling, same ID used for different IE's depending on signal */