From d081edd8e5a80981fab81f69c8120d2b91c9fb77 Mon Sep 17 00:00:00 2001 From: wmeier Date: Tue, 4 Aug 2009 18:52:01 +0000 Subject: Initialize several ett_... variables to -1 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29295 f5534014-38df-0310-8fa8-9805f1628bb7 --- asn1/spnego/packet-spnego-template.c | 4 ++-- epan/dissectors/packet-spnego.c | 6 +++--- epan/dissectors/packet-spnego.h | 2 +- 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 */ -- cgit v1.2.3