summaryrefslogtreecommitdiffstats
path: root/source/passdb/smbpass.c
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
commit1c052f8744c3f1f64638eb4c0ea7b0db39d50040 (patch)
treeb7fbb47aec10db7c6c0e3ed98be1eb832953b262 /source/passdb/smbpass.c
parent9907296225e35548dadd70e1be5a06517b27bb87 (diff)
downloadsamba-1c052f8744c3f1f64638eb4c0ea7b0db39d50040.tar.gz
samba-1c052f8744c3f1f64638eb4c0ea7b0db39d50040.tar.xz
samba-1c052f8744c3f1f64638eb4c0ea7b0db39d50040.zip
initialise a variable
Diffstat (limited to 'source/passdb/smbpass.c')
-rw-r--r--source/passdb/smbpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/smbpass.c b/source/passdb/smbpass.c
index 9d20987dbab..a8179331884 100644
--- a/source/passdb/smbpass.c
+++ b/source/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);