summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-07-11 15:42:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:20:06 -0500
commit3e0aa2e756ec5fb3f03c9029ee442ed0aede5c53 (patch)
tree1e6615499f2bb40468afce58c351809a96e6da81 /source4/auth
parent887461327a93e1677de44438a5e4a1abd5b91f11 (diff)
downloadsamba-3e0aa2e756ec5fb3f03c9029ee442ed0aede5c53.tar.gz
samba-3e0aa2e756ec5fb3f03c9029ee442ed0aede5c53.tar.bz2
samba-3e0aa2e756ec5fb3f03c9029ee442ed0aede5c53.zip
r8321: Fix some uninitalized variable warnings
(This used to be commit 126cb3db4b0cf9c382ba7496ba08311f3b669f00)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/gensec_krb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec_krb5.c b/source4/auth/gensec/gensec_krb5.c
index 168b6df364..a1a4886af9 100644
--- a/source4/auth/gensec/gensec_krb5.c
+++ b/source4/auth/gensec/gensec_krb5.c
@@ -391,7 +391,7 @@ static NTSTATUS gensec_krb5_session_key(struct gensec_security *gensec_security,
krb5_context context = gensec_krb5_state->smb_krb5_context->krb5_context;
krb5_auth_context auth_context = gensec_krb5_state->auth_context;
krb5_keyblock *skey;
- krb5_error_code err;
+ krb5_error_code err = -1;
if (gensec_krb5_state->session_key.data) {
*session_key = gensec_krb5_state->session_key;