summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-06-26 13:19:40 -0700
committerJeremy Allison <jra@samba.org>2008-06-26 13:19:40 -0700
commit23cafd02d3222b910dbc30a7eab20ebdcc81ab33 (patch)
treeaeee756e7c644f4ef8d06a609180580213a56328 /source3/libsmb
parent31f1ad43114cca6684f59fdf93cd8230c5ca21b4 (diff)
downloadsamba-23cafd02d3222b910dbc30a7eab20ebdcc81ab33.tar.gz
samba-23cafd02d3222b910dbc30a7eab20ebdcc81ab33.tar.bz2
samba-23cafd02d3222b910dbc30a7eab20ebdcc81ab33.zip
Fix return of uninitialized variable.
Jeremy. (This used to be commit 384052f546af8c1c6848c03cad4f2ba618ba7209)
Diffstat (limited to 'source3/libsmb')
-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;