aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-07-23 15:08:25 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-07-23 15:08:25 +0000
commit02fe5e7d57338df4215be494d121c833be481fa3 (patch)
treed6238881835cfada16d982c7113e5430028bf2eb /packet-smb.c
parentf142a75daa1996964514339cdd396cdf03f676bc (diff)
Got rid of ipv6 compiler warnings when compiling on RedHat 6.0.
Initialized AndXCommand to 0 in packet-smb.c just to get rid of compiler warning about 'possibly used uninitialized'. svn path=/trunk/; revision=382
Diffstat (limited to 'packet-smb.c')
-rw-r--r--packet-smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-smb.c b/packet-smb.c
index dd62ef0754..109486abe9 100644
--- a/packet-smb.c
+++ b/packet-smb.c
@@ -2,7 +2,7 @@
* Routines for smb packet dissection
* Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com>
*
- * $Id: packet-smb.c,v 1.19 1999/07/13 02:52:56 gram Exp $
+ * $Id: packet-smb.c,v 1.20 1999/07/23 15:08:25 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -576,7 +576,7 @@ dissect_ssetup_andx_smb(const u_char *pd, int offset, frame_data *fd, proto_tree
proto_item *ti;
guint8 WordCount;
guint8 AndXReserved;
- guint8 AndXCommand;
+ guint8 AndXCommand = 0;
guint32 SessionKey;
guint32 Reserved;
guint32 Capabilities;