diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-12 06:38:41 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-12 06:38:41 +0000 |
commit | 053322d0ca6b68be638c2d5f4caa9909a19c1646 (patch) | |
tree | b05c21aca5a7e86a76a7b3d575802c1e3817ea49 /source3/passdb | |
parent | 479c73559e137a406f912f8e262e1658861dc9db (diff) | |
download | samba-053322d0ca6b68be638c2d5f4caa9909a19c1646.tar.gz samba-053322d0ca6b68be638c2d5f4caa9909a19c1646.tar.bz2 samba-053322d0ca6b68be638c2d5f4caa9909a19c1646.zip |
fixed two uninitialised variables
(This used to be commit eefb36f130f79f2f2c6cfb58c1646aa6ce4303be)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/smbpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index bfb3946b1a..1579a5e00d 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -41,7 +41,7 @@ static void *startsmbfilepwent_internal(const char *pfile, enum pwf_access_type FILE *fp = NULL; const char *open_mode = NULL; int race_loop = 0; - int lock_type; + int lock_type = F_RDLCK; if (!*pfile) { DEBUG(0, ("startsmbfilepwent: No SMB password file set\n")); |