summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_sesssetup.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-12-10 17:49:44 +0100
committerJeremy Allison <jra@samba.org>2013-12-12 14:21:27 -0800
commitca8353efaa217b6384f2147f54ca347b0ae70bf3 (patch)
treecffdda945d8ce84cc21faaf1e7e81a28414e45a5 /source3/smbd/smb2_sesssetup.c
parent805515b83f02be29815654c4a0d09d324ba50abc (diff)
downloadsamba-ca8353efaa217b6384f2147f54ca347b0ae70bf3.tar.gz
samba-ca8353efaa217b6384f2147f54ca347b0ae70bf3.tar.xz
samba-ca8353efaa217b6384f2147f54ca347b0ae70bf3.zip
s3:smbd/smb2 fix compiler warnings
about a potentially uninitialized variables Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/smb2_sesssetup.c')
-rw-r--r--source3/smbd/smb2_sesssetup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c
index cb8f847866..edef0cc5c4 100644
--- a/source3/smbd/smb2_sesssetup.c
+++ b/source3/smbd/smb2_sesssetup.c
@@ -111,8 +111,8 @@ static void smbd_smb2_request_sesssetup_done(struct tevent_req *subreq)
uint8_t *outhdr;
DATA_BLOB outbody;
DATA_BLOB outdyn;
- uint16_t out_session_flags;
- uint64_t out_session_id;
+ uint16_t out_session_flags = 0;
+ uint64_t out_session_id = 0;
uint16_t out_security_offset;
DATA_BLOB out_security_buffer = data_blob_null;
NTSTATUS status;