]> git.sur5r.net Git - openldap/commitdiff
Fix uninit'd cb (coverity)
authorHoward Chu <hyc@openldap.org>
Sun, 8 Oct 2006 00:26:32 +0000 (00:26 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 8 Oct 2006 00:26:32 +0000 (00:26 +0000)
servers/slapd/back-ldap/monitor.c

index 1dcb8c7fcfa748cbc45dcb4b9686daa5db4175ae..44f4145ba7b4024333df85125736e1f1d8c9da60 100644 (file)
@@ -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;