summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clikrb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 2aae9df53e..cbe8f24909 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -217,7 +217,7 @@ static int create_kerberos_key_from_string_direct(krb5_context context,
krb5_enctype enctype,
bool no_salt)
{
- int ret;
+ int ret = 0;
krb5_data salt;
krb5_encrypt_block eblock;