[PATCH] torture: Fix the O3 developer build

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Mar 22 15:05:50 UTC 2016


Hi!

Apologies for the repeated mails in this regard: Is anybody on this list
still interested in this kind of spam, or do you want me to keep them
local in my tree?

Thanks, Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From f25f4507070400772fe3304c49956c76932c05a1 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Tue, 22 Mar 2016 16:03:58 +0100
Subject: [PATCH] torture: Fix the O3 developer build

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source4/torture/smb2/replay.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source4/torture/smb2/replay.c b/source4/torture/smb2/replay.c
index 91bb568..26b5583 100644
--- a/source4/torture/smb2/replay.c
+++ b/source4/torture/smb2/replay.c
@@ -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;
-- 
1.7.9.5



More information about the samba-technical mailing list