Fix possible uninitialized variable use.
[tprouty/samba.git] / source / nsswitch / winbindd_cred_cache.c
index 368090c39090b5a780cafa85a4eea2269f8c224d..e47858b628c2fe4d8dd08776442ed27f5d65c5b7 100644 (file)
@@ -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