summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-02-28 02:41:01 -0800
committerJeremy Allison <jra@samba.org>2008-02-28 02:41:01 -0800
commitc439013ef99971907bfc9d01c01f4a680960bb11 (patch)
tree26dc2cf4db1164f85ec1085a9408717dbd28e9b3
parentb605b169e659ee0c84f7d807e8dfb25e9723a2bf (diff)
downloadsamba-c439013ef99971907bfc9d01c01f4a680960bb11.tar.gz
Fix possible uninitialized variable use.
Jeremy.
-rw-r--r--source/nsswitch/winbindd_cred_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_cred_cache.c b/source/nsswitch/winbindd_cred_cache.c
index 368090c3909..e47858b628c 100644
--- a/source/nsswitch/winbindd_cred_cache.c
+++ b/source/nsswitch/winbindd_cred_cache.c
@@ -426,7 +426,7 @@ NTSTATUS add_ccache_to_list(const char *princ_name,
NTSTATUS remove_ccache(const char *username)
{
struct WINBINDD_CCACHE_ENTRY *entry = get_ccache_by_username(username);
- NTSTATUS status;
+ NTSTATUS status = NT_STATUS_OK;
#ifdef HAVE_KRB5
krb5_error_code ret;
#endif