[PATCH] torture: Fix the O3 developer build

Jeremy Allison jra at samba.org
Tue Mar 22 15:50:52 UTC 2016


On Tue, Mar 22, 2016 at 04:05:50PM +0100, Volker Lendecke wrote:
> 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?

Yes, yes 1000x yes - please keep them coming :-).

Code quality is job number #1.

Pushed, thanks !

> 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

> 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