Quantcast

[PATCH] Fix the O3 build

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] Fix the O3 build

Samba - samba-technical mailing list
Hi!

Review appreciated!

Thanks, Volker

patch.txt (919 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH] Fix the O3 build

Samba - samba-technical mailing list
On la, 11 maalis 2017, Volker Lendecke via samba-technical wrote:
> Hi!
>
> Review appreciated!
>
> Thanks, Volker

> From 170b9c9202a95e6a9c21f117d1ef79cce765199e Mon Sep 17 00:00:00 2001
> From: Volker Lendecke <[hidden email]>
> Date: Sat, 11 Mar 2017 10:16:03 +0100
> Subject: [PATCH] lib: Fix an uninitialized variable warning
>
> Signed-off-by: Volker Lendecke <[hidden email]>
> ---
>  source3/librpc/crypto/gse.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
> index 1d9e8dc..273fd02 100644
> --- a/source3/librpc/crypto/gse.c
> +++ b/source3/librpc/crypto/gse.c
> @@ -334,7 +334,8 @@ static NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx,
>   struct gse_context *gse_ctx =
>   talloc_get_type_abort(gensec_security->private_data,
>        struct gse_context);
> - OM_uint32 gss_maj, gss_min;
> + OM_uint32 gss_maj = 0;
> + OM_uint32 gss_min;
>   gss_buffer_desc in_data;
>   gss_buffer_desc out_data;
>   DATA_BLOB blob = data_blob_null;
Thanks.

RB+ by me. Please push with other patches.

--
/ Alexander Bokovoy

Loading...