Make variables not used outside the module static.

Initialize "hf_error_st" to -1, the same way other hf_ variables are
initialized, and make it an "int", as other hf_ variables are.

svn path=/trunk/; revision=10354
This commit is contained in:
Guy Harris 2004-03-09 09:24:41 +00:00
parent c7a7cd5e0f
commit 640180bea5
3 changed files with 9 additions and 8 deletions

View File

@ -5,7 +5,7 @@
* This information is based off the released idl files from opengroup.
* ftp://ftp.opengroup.org/pub/dce122/dce/src/file.tar.gz file/fsint/afs4int.idl
*
* $Id: packet-dcerpc-afs4int.c,v 1.7 2004/02/01 06:49:22 jmayer Exp $
* $Id: packet-dcerpc-afs4int.c,v 1.8 2004/03/09 09:24:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -304,8 +304,9 @@ static gint ett_afs4int_afsbundled_stat = -1;
/* vars for our macro(s) */
guint32 hf_error_st, st;
char *st_str;
static int hf_error_st = -1;
static guint32 st;
static char *st_str;
static e_uuid_t uuid_afs4int =

View File

@ -5,7 +5,7 @@
* This information is based off the released idl files from opengroup.
* ftp://ftp.opengroup.org/pub/dce122/dce/src/file.tar.gz file/flserver/fldb_proc.idl
*
* $Id: packet-dcerpc-fldb.c,v 1.7 2004/02/21 04:55:42 guy Exp $
* $Id: packet-dcerpc-fldb.c,v 1.8 2004/03/09 09:24:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -186,8 +186,8 @@ static int hf_fldb_uuid_owner = -1;
static int hf_fldb_volid_high = -1;
static int hf_fldb_volid_low = -1;
static int hf_fldb_voltype = -1;
guint32 st;
const guint8 *st_str;
static guint32 st;
static const guint8 *st_str;
#define AFS_FLAG_RETURNTOKEN 1
#define AFS_FLAG_TOKENJUMPQUEUE 2

View File

@ -5,7 +5,7 @@
* This information is based off the released idl files from opengroup.
* ftp://ftp.opengroup.org/pub/dce122/dce/src/security.tar.gz security/idl/rs_pgo.idl
*
* $Id: packet-dcerpc-rs_pgo.c,v 1.11 2004/02/24 18:23:45 guy Exp $
* $Id: packet-dcerpc-rs_pgo.c,v 1.12 2004/03/09 09:24:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -126,7 +126,7 @@ static gint ett_rs_pgo_id_key_t = -1;
static gint ett_rs_pgo_unix_num_key_t = -1;
static gint ett_rs_pgo_query_result_t = -1;
static gint ett_rs_pgo_result_t = -1;
guint8 *st_str;
static guint8 *st_str;
#define sec_rgy_acct_admin_valid 0x1