From: Howard Chu Date: Sat, 9 Sep 2006 22:15:45 +0000 (+0000) Subject: Fix uninit'd *cb (Coverity scan) X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~173 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c6ed29dc3ce03cb257838eb095b4c9a31bd82ae1;p=openldap Fix uninit'd *cb (Coverity scan) --- diff --git a/servers/slapd/back-bdb/monitor.c b/servers/slapd/back-bdb/monitor.c index 237dfc4d04..b70642e92e 100644 --- a/servers/slapd/back-bdb/monitor.c +++ b/servers/slapd/back-bdb/monitor.c @@ -343,7 +343,7 @@ bdb_monitor_open( BackendDB *be ) { struct bdb_info *bdb = (struct bdb_info *) be->be_private; Attribute *a, *next; - monitor_callback_t *cb; + monitor_callback_t *cb = NULL; struct berval suffix, *filter, *base; char *ptr; int rc = 0;