diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-04-09 18:35:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-04-09 18:35:27 +0000 |
commit | 4727ca154dc360957c27e47be25924a13c3548fe (patch) | |
tree | 652e720ff536896cd28e7ea99b1bc57a2997c6cc /packet-smb.c | |
parent | d53c3b80c454ada1cce73a2db5252acf7dc267f2 (diff) |
Squelch a compiler warning - the problem "should not happen", as a
WriteAndX request should have a full complement of word parameters, but,
just in cast it doesn't....
(Should we somehow arrange to throw an exception if there aren't enough
word or byte parameters in SMBs, i.e. impose a minimum in some cases?)
svn path=/trunk/; revision=7430
Diffstat (limited to 'packet-smb.c')
-rw-r--r-- | packet-smb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-smb.c b/packet-smb.c index d0c10c6617..e80ed1add9 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -3,7 +3,7 @@ * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * 2001 Rewrite by Ronnie Sahlberg and Guy Harris * - * $Id: packet-smb.c,v 1.319 2003/04/09 09:35:57 sahlberg Exp $ + * $Id: packet-smb.c,v 1.320 2003/04/09 18:35:27 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -5379,7 +5379,7 @@ dissect_write_andx_request(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 andxoffset=0, bc, datalen=0, dataoffset=0; smb_info_t *si = (smb_info_t *)pinfo->private_data; unsigned int fid=0; - guint16 mode; + guint16 mode = 0; WORD_COUNT; |