From 4727ca154dc360957c27e47be25924a13c3548fe Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 9 Apr 2003 18:35:27 +0000 Subject: 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 --- packet-smb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-smb.c') 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 * 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 @@ -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; -- cgit v1.2.3