summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_negprot.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-24 10:21:07 -0400
committerVolker Lendecke <vl@samba.org>2009-07-24 10:23:04 -0400
commit79fd60dd3872f136528821d1c755f55fa60b3450 (patch)
tree1575d1def69efafbd9adf06f5a55cdc514381828 /source3/smbd/smb2_negprot.c
parent210181de7503966ea9fbfdbe2c030ab7b04b973c (diff)
downloadsamba-79fd60dd3872f136528821d1c755f55fa60b3450.tar.gz
samba-79fd60dd3872f136528821d1c755f55fa60b3450.tar.bz2
samba-79fd60dd3872f136528821d1c755f55fa60b3450.zip
Fix a few uninitialized variable warnings
I know those warnings are bogus, but both Coverity and gcc don't get it.
Diffstat (limited to 'source3/smbd/smb2_negprot.c')
-rw-r--r--source3/smbd/smb2_negprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c
index b312a7fa47..a60ea63b00 100644
--- a/source3/smbd/smb2_negprot.c
+++ b/source3/smbd/smb2_negprot.c
@@ -76,7 +76,7 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
size_t c;
uint16_t security_mode;
uint16_t dialect_count;
- uint16_t dialect;
+ uint16_t dialect = 0;
uint32_t capabilities;
/* TODO: drop the connection with INVALI_PARAMETER */