summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-29 18:08:02 +0200
committerGünther Deschner <gd@samba.org>2009-05-29 18:08:02 +0200
commit10eec5ebc01e166ac1759748a5a9bffff77bf44f (patch)
treec1553c1b0657090d7db3aaf20f70ee5686c2f657 /source3
parentf48e39540c9767e9077e7534a6d410b4ce597c86 (diff)
downloadsamba-10eec5ebc01e166ac1759748a5a9bffff77bf44f.tar.gz
samba-10eec5ebc01e166ac1759748a5a9bffff77bf44f.tar.bz2
samba-10eec5ebc01e166ac1759748a5a9bffff77bf44f.zip
s3-passdb: fix uninitialized variable in local_password_change().
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 9654e79d7a..51190e0bc2 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -649,7 +649,7 @@ NTSTATUS local_password_change(const char *user_name,
uint32_t rid;
NTSTATUS result;
bool user_exists;
- int ret;
+ int ret = -1;
*pp_err_str = NULL;
*pp_msg_str = NULL;