summaryrefslogtreecommitdiffstats
path: root/source3/smbd/statcache.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-11-27 19:14:10 +0000
committerJeremy Allison <jra@samba.org>2000-11-27 19:14:10 +0000
commita1c3f33d94d7c40f3511e8dafde839ef0915d9a3 (patch)
treeea6ccae3e69f67a02d9326a7435c46c892f0176c /source3/smbd/statcache.c
parentfb3daf365355d26d9c0c52353232a9d944a4212f (diff)
downloadsamba-a1c3f33d94d7c40f3511e8dafde839ef0915d9a3.tar.gz
samba-a1c3f33d94d7c40f3511e8dafde839ef0915d9a3.tar.xz
samba-a1c3f33d94d7c40f3511e8dafde839ef0915d9a3.zip
Removed unnessesary init.
Jeremy. (This used to be commit 2a797f9aa26b2d0c703b9d67f6e1ec97e4f408d2)
Diffstat (limited to 'source3/smbd/statcache.c')
-rw-r--r--source3/smbd/statcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index 4c885f34f1..8200c277b3 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -218,7 +218,7 @@ BOOL stat_cache_lookup(connection_struct *conn, char *name, char *dirpath,
*/
BOOL reset_stat_cache( void )
{
- static BOOL initialised = False;
+ static BOOL initialised;
if (!lp_stat_cache()) return True;
if (!initialised) {