From 8bdf89ac6aaba83bf90285b627745330f2f46512 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 7 Oct 2009 22:44:14 +0000 Subject: [PATCH] make sure members are not used uninitialized --- servers/slapd/overlays/pcache.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index eac0f6205d..309a192771 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -4377,9 +4377,13 @@ pcache_db_init( cm->check_cacheability = 0; cm->response_cb = PCACHE_RESPONSE_CB_TAIL; cm->defer_db_open = 1; + cm->cache_binds = 0; cm->cc_period = 1000; cm->cc_paused = 0; cm->cc_arg = NULL; +#ifdef PCACHE_MONITOR + cm->monitor_cb = NULL; +#endif /* PCACHE_MONITOR */ qm->attr_sets = NULL; qm->templates = NULL; -- 2.39.5