aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-04 18:52:01 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-04 18:52:01 +0000
commitd081edd8e5a80981fab81f69c8120d2b91c9fb77 (patch)
tree1dd3e25c9a38b52871f9c20838ad7f483496790c
parent3b581ea5e1989a5d83949c357a8b83c200b96d9d (diff)
Initialize several ett_... variables to -1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29295 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--asn1/spnego/packet-spnego-template.c4
-rw-r--r--epan/dissectors/packet-spnego.c6
-rw-r--r--epan/dissectors/packet-spnego.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/asn1/spnego/packet-spnego-template.c b/asn1/spnego/packet-spnego-template.c
index 7552cf2c4c..0b7f453a6d 100644
--- a/asn1/spnego/packet-spnego-template.c
+++ b/asn1/spnego/packet-spnego-template.c
@@ -89,8 +89,8 @@ gboolean saw_mechanism = FALSE;
/* Initialize the subtree pointers */
-static gint ett_spnego;
-static gint ett_spnego_wraptoken;
+static gint ett_spnego = -1;
+static gint ett_spnego_wraptoken = -1;
static gint ett_spnego_krb5 = -1;
static gint ett_spnego_krb5_cfx_flags = -1;
diff --git a/epan/dissectors/packet-spnego.c b/epan/dissectors/packet-spnego.c
index 82d8d8e58b..ece1e1b111 100644
--- a/epan/dissectors/packet-spnego.c
+++ b/epan/dissectors/packet-spnego.c
@@ -1,7 +1,7 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-spnego.c */
-/* ../../tools/asn2wrs.py -b -p spnego -c ./spnego.cnf -s ./packet-spnego-template -D . spnego.asn */
+/* ../../tools/asn2wrs.py -b -p spnego -c spnego.cnf -s packet-spnego-template spnego.asn */
/* Input file: packet-spnego-template.c */
@@ -124,8 +124,8 @@ gboolean saw_mechanism = FALSE;
/* Initialize the subtree pointers */
-static gint ett_spnego;
-static gint ett_spnego_wraptoken;
+static gint ett_spnego = -1;
+static gint ett_spnego_wraptoken = -1;
static gint ett_spnego_krb5 = -1;
static gint ett_spnego_krb5_cfx_flags = -1;
diff --git a/epan/dissectors/packet-spnego.h b/epan/dissectors/packet-spnego.h
index 12eb70901d..7dfc919ff9 100644
--- a/epan/dissectors/packet-spnego.h
+++ b/epan/dissectors/packet-spnego.h
@@ -1,7 +1,7 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-spnego.h */
-/* ../../tools/asn2wrs.py -b -p spnego -c ./spnego.cnf -s ./packet-spnego-template -D . spnego.asn */
+/* ../../tools/asn2wrs.py -b -p spnego -c spnego.cnf -s packet-spnego-template spnego.asn */
/* Input file: packet-spnego-template.h */