summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-03-11 10:16:03 +0100
committerVolker Lendecke <vl@samba.org>2017-03-15 14:21:43 +0100
commitb59f5b15b27c0ca93817de4c8de910c9d7d895af (patch)
tree1a662c4809cc04605a74739cb4271295508895bd /source3/librpc
parentc5e101af2b16c2869bf5c8f8aa90876aa6450f55 (diff)
downloadsamba-b59f5b15b27c0ca93817de4c8de910c9d7d895af.tar.gz
lib: Fix an uninitialized variable warning
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Mar 15 14:21:43 CET 2017 on sn-devel-144
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/crypto/gse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
index 1d9e8dc5b2c..273fd02c197 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;