torture: Fix the O3 developer build
authorVolker Lendecke <vl@samba.org>
Tue, 22 Mar 2016 15:03:58 +0000 (16:03 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 22 Mar 2016 21:48:52 +0000 (22:48 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar 22 22:48:52 CET 2016 on sn-devel-144

source4/torture/smb2/replay.c

index 91bb56800fe0c2680532c837e67aed0f675dd5bc..26b55838cece416a4435c781bae705c1907e73ed 100644 (file)
@@ -1497,7 +1497,7 @@ static bool test_channel_sequence_table(struct torture_context *tctx,
                                        bool do_replay,
                                        uint16_t opcode)
 {
-       NTSTATUS status;
+       NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
        TALLOC_CTX *mem_ctx = talloc_new(tctx);
        struct smb2_handle handle;
        struct smb2_handle *phandle = NULL;