summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-09-30 10:09:19 +0200
committerVolker Lendecke <vl@samba.org>2011-09-30 10:21:43 +0200
commitb7b7ce5aa45a1f0f72caa92b2adeee4d8c8b2535 (patch)
treeec579411bb8bab06d8514b51950b04f331f3b00d /source3/libsmb
parent0834ecc6f3f68d70c4bbf6b5ad745f4992a7f0f6 (diff)
downloadsamba-b7b7ce5aa45a1f0f72caa92b2adeee4d8c8b2535.tar.gz
samba-b7b7ce5aa45a1f0f72caa92b2adeee4d8c8b2535.tar.bz2
samba-b7b7ce5aa45a1f0f72caa92b2adeee4d8c8b2535.zip
s3: Fix an uninitialized variable warning
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/smb2cli_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c
index b85158f8c7..52b7d0586a 100644
--- a/source3/libsmb/smb2cli_base.c
+++ b/source3/libsmb/smb2cli_base.c
@@ -519,7 +519,7 @@ static void smb2cli_inbuf_received(struct tevent_req *subreq)
struct cli_state);
TALLOC_CTX *frame = talloc_stackframe();
struct tevent_req *req;
- struct smb2cli_req_state *state;
+ struct smb2cli_req_state *state = NULL;
struct iovec *iov;
int i, num_iov;
NTSTATUS status;