s3: Fix an uninitialized variable warning
authorVolker Lendecke <vl@samba.org>
Fri, 30 Sep 2011 08:09:19 +0000 (10:09 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 30 Sep 2011 08:21:43 +0000 (10:21 +0200)
source3/libsmb/smb2cli_base.c

index b85158f8c74c79e81ebbbb94d319d324fdf48393..52b7d0586a3dd2a0d6ff266beeacd8591bed99b9 100644 (file)
@@ -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;