From b7b7ce5aa45a1f0f72caa92b2adeee4d8c8b2535 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 30 Sep 2011 10:09:19 +0200 Subject: s3: Fix an uninitialized variable warning --- source3/libsmb/smb2cli_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; -- cgit