[PATCH] Fix the O3 build
Alexander Bokovoy
ab at samba.org
Sat Mar 11 20:07:29 UTC 2017
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 <vl at samba.org>
> Date: Sat, 11 Mar 2017 10:16:03 +0100
> Subject: [PATCH] lib: Fix an uninitialized variable warning
>
> Signed-off-by: Volker Lendecke <vl at samba.org>
> ---
> 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
More information about the samba-technical
mailing list