summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-05-13 05:02:31 +0000
committerAndrew Tridgell <tridge@samba.org>1998-05-13 05:02:31 +0000
commitd636d65bcc95f4bcaf9e20807b5d954b662e69c9 (patch)
tree66441a370ff2df624877d7fe713e8408052da5f5 /source3/passdb
parented4719b66c728b52240961897282d0bbc9c456c1 (diff)
downloadsamba-d636d65bcc95f4bcaf9e20807b5d954b662e69c9.tar.gz
samba-d636d65bcc95f4bcaf9e20807b5d954b662e69c9.tar.bz2
samba-d636d65bcc95f4bcaf9e20807b5d954b662e69c9.zip
initialise a variable
(This used to be commit 1c052f8744c3f1f64638eb4c0ea7b0db39d50040)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/smbpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c
index 9d20987dba..a817933188 100644
--- a/source3/passdb/smbpass.c
+++ b/source3/passdb/smbpass.c
@@ -98,7 +98,7 @@ static BOOL pw_file_lock(int fd, int type, int secs, int *plock_depth)
static BOOL pw_file_unlock(int fd, int *plock_depth)
{
- BOOL ret;
+ BOOL ret=True;
if(*plock_depth == 1)
ret = do_pw_lock(fd, 5, F_UNLCK);