summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-04-11 15:11:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:59 -0500
commit33788e5883b2d4e08a0d613044159df663162200 (patch)
tree3034deab3c757d5d27d3530e4b323a31b5b9c7b5 /source3
parent9608b4328d9ffd4b8d38e1dc872f68d80dd1cc22 (diff)
downloadsamba-33788e5883b2d4e08a0d613044159df663162200.tar.gz
samba-33788e5883b2d4e08a0d613044159df663162200.tar.bz2
samba-33788e5883b2d4e08a0d613044159df663162200.zip
r15039: Fix an uninitialized variable. I _think_ this should default to
PAM_SUCCESS. Günther, could you take a look? Thanks, Volker (This used to be commit fc6effcd9c2bb2d15b7e8fba85cc3193d2d7ce1f)
Diffstat (limited to 'source3')
-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 3aa73e6016..420f52122a 100644
--- a/source3/nsswitch/pam_winbind.c
+++ b/source3/nsswitch/pam_winbind.c
@@ -1031,7 +1031,7 @@ int pam_sm_close_session(pam_handle_t *pamh, int flags,
int argc, const char **argv)
{
dictionary *d;
- int retval;
+ int retval = PAM_SUCCESS;
/* parse arguments */
int ctrl = _pam_parse(argc, argv, &d);