Remove an extra /*, some unused variables, and an unneeded include (INAP
authorGuy Harris <guy@alum.mit.edu>
Thu, 10 Feb 2005 03:19:59 +0000 (03:19 -0000)
committerGuy Harris <guy@alum.mit.edu>
Thu, 10 Feb 2005 03:19:59 +0000 (03:19 -0000)
currently has no taps).

svn path=/trunk/; revision=13371

asn1/inap/packet-inap-template.c
epan/dissectors/packet-inap.c
epan/dissectors/packet-inap.h

index 4e06bbb7a23903f90a8460f2ddd7d759d4b19d15..83729c4acb3f8870557546f4499a135cd64dd381 100644 (file)
@@ -1,10 +1,9 @@
-/* 
 /* packet-inap-template.c
  * Routines for INAP
  * Copyright 2004, Tim Endean <endeant@hotmail.com>
  * Built from the gsm-map dissector Copyright 2004, Anders Broman <anders.broman@ericsson.com>
  *
- * $Id:$
+ * $Id$
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
  * Copyright 1998 Gerald Combs
@@ -33,7 +32,6 @@
 #include <epan/packet.h>
 #include <epan/prefs.h>
 #include <epan/conversation.h>
-#include <epan/tap.h>
 
 #include <stdio.h>
 #include <string.h>
@@ -69,7 +67,6 @@ static gint ett_inap_ReturnResultPDU = -1;
 static gint ett_inap_ReturnResult_result = -1;
 static gint ett_inap_INAPPDU = -1;
 static gint ett_inapisup_parameter = -1;
-static int inap_tap = -1;
 #include "packet-inap-ett.c"
 
 static int  dissect_invokeCmd(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset);
@@ -311,7 +308,6 @@ dissect_inap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 {
     proto_item         *item=NULL;
     proto_tree         *tree=NULL;
-    gchar                      *str = NULL;
 
 
     if (check_col(pinfo->cinfo, COL_PROTOCOL))
index 8c5bfb38145377f8d7be1fc52b67e11a6c77f0b2..9d23637801ba29a46787aeae1aa3fc4f7ab4e86a 100644 (file)
@@ -1,11 +1,10 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Ethereal dissector compiler    */
-/* .\packet-inap.c                                                            */
-/* ../../tools/asn2eth.py -X -b -e -p inap -c inap.cnf -s packet-inap-template INAP.asn */
+/* ./packet-inap.c                                                            */
+/* ../../tools/asn2eth.py -X -b -e -p inap -c inap.cnf -s packet-inap-template inap.asn */
 
 /* Input file: packet-inap-template.c */
 
-/* 
 /* packet-inap-template.c
  * Routines for INAP
  * Copyright 2004, Tim Endean <endeant@hotmail.com>
@@ -40,7 +39,6 @@
 #include <epan/packet.h>
 #include <epan/prefs.h>
 #include <epan/conversation.h>
-#include <epan/tap.h>
 
 #include <stdio.h>
 #include <string.h>
@@ -295,7 +293,6 @@ static gint ett_inap_ReturnResultPDU = -1;
 static gint ett_inap_ReturnResult_result = -1;
 static gint ett_inap_INAPPDU = -1;
 static gint ett_inapisup_parameter = -1;
-static int inap_tap = -1;
 
 /*--- Included file: packet-inap-ett.c ---*/
 
@@ -4166,7 +4163,6 @@ dissect_inap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
 {
     proto_item         *item=NULL;
     proto_tree         *tree=NULL;
-    gchar                      *str = NULL;
 
 
     if (check_col(pinfo->cinfo, COL_PROTOCOL))
index 06a62bf86f62cd9bd9df158fea58de48f92546fc..bcc31b7cb8c295df6e0b20ae7a949642e788deea 100644 (file)
@@ -1,7 +1,7 @@
 /* Do not modify this file.                                                   */
 /* It is created automatically by the ASN.1 to Ethereal dissector compiler    */
-/* .\packet-inap.h                                                            */
-/* ../../tools/asn2eth.py -X -b -e -p inap -c inap.cnf -s packet-inap-template INAP.asn */
+/* ./packet-inap.h                                                            */
+/* ../../tools/asn2eth.py -X -b -e -p inap -c inap.cnf -s packet-inap-template inap.asn */
 
 /* Input file: packet-inap-template.h */