From acdddee3ab7df680a59df9eb01604ab1f8f4647a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 8 Oct 2006 00:26:32 +0000 Subject: [PATCH] Fix uninit'd cb (coverity) --- servers/slapd/back-ldap/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5