summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-23 19:37:36 +0100
committerVolker Lendecke <vl@samba.org>2008-11-23 19:38:21 +0100
commit9c3173142d3c9e0157a76ed32987cfb910d49a93 (patch)
tree501bafad140f379d2f83f0a6cdd525f2bcbaf524
parent34fc529d95c3e45e7c4b81246864b3de5ca73fd8 (diff)
downloadsamba-9c3173142d3c9e0157a76ed32987cfb910d49a93.tar.gz
samba-9c3173142d3c9e0157a76ed32987cfb910d49a93.tar.bz2
samba-9c3173142d3c9e0157a76ed32987cfb910d49a93.zip
Fix an uninitialized variable warning
Andreas Schneider, please check!
-rw-r--r--source3/nsswitch/pam_winbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c
index 1daa05ea17..be22ff3f5e 100644
--- a/source3/nsswitch/pam_winbind.c
+++ b/source3/nsswitch/pam_winbind.c
@@ -2316,7 +2316,7 @@ static int _pam_delete_cred(pam_handle_t *pamh, int flags,
struct wbcLogoffUserParams logoff;
struct wbcAuthErrorInfo *error = NULL;
const char *user;
- wbcErr wbc_status;
+ wbcErr wbc_status = WBC_ERR_SUCCESS;
retval = _pam_winbind_init_context(pamh, flags, argc, argv, &ctx);
if (retval) {