From: Pierangelo Masarati Date: Wed, 7 Oct 2009 22:44:14 +0000 (+0000) Subject: make sure members are not used uninitialized X-Git-Tag: ACLCHECK_0~192 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8bdf89ac6aaba83bf90285b627745330f2f46512;p=openldap make sure members are not used uninitialized --- 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;