]> git.sur5r.net Git - openldap/commitdiff
Fix uninit'd *cb (Coverity scan)
authorHoward Chu <hyc@openldap.org>
Sat, 9 Sep 2006 22:15:45 +0000 (22:15 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 9 Sep 2006 22:15:45 +0000 (22:15 +0000)
servers/slapd/back-bdb/monitor.c

index 237dfc4d0467cd54270c8bf33881c48a194c2f05..b70642e92e362f8e21f70d71f0ff7a22bffcf0da 100644 (file)
@@ -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;