From: Howard Chu Date: Sun, 8 Oct 2006 00:26:32 +0000 (+0000) Subject: Fix uninit'd cb (coverity) X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~71 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=acdddee3ab7df680a59df9eb01604ab1f8f4647a;p=openldap Fix uninit'd cb (coverity) --- diff --git a/servers/slapd/back-ldap/monitor.c b/servers/slapd/back-ldap/monitor.c index 1dcb8c7fcf..44f4145ba7 100644 --- a/servers/slapd/back-ldap/monitor.c +++ b/servers/slapd/back-ldap/monitor.c @@ -385,7 +385,7 @@ ldap_back_monitor_db_open( BackendDB *be ) ldapinfo_t *li = (ldapinfo_t *) be->be_private; char buf[ BACKMONITOR_BUFSIZE ]; Entry *e = NULL; - monitor_callback_t *cb; + monitor_callback_t *cb = NULL; struct berval suffix, *filter, *base; char *ptr; time_t now;