]> git.sur5r.net Git - openldap/commitdiff
don't risk using uninitialized vars
authorPierangelo Masarati <ando@openldap.org>
Mon, 8 Sep 2008 00:05:15 +0000 (00:05 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 8 Sep 2008 00:05:15 +0000 (00:05 +0000)
servers/slapd/backover.c

index ce69388fa17f5ada292fe2ba1d91e49e6238aabf..e14a0192a58a967e42a4c25f18c52ccfd1163140 100644 (file)
@@ -193,7 +193,7 @@ over_db_destroy(
        slap_overinfo *oi = be->bd_info->bi_private;
        slap_overinst *on = oi->oi_list, *next;
        BackendInfo *bi_orig = be->bd_info;
-       int rc;
+       int rc = 0;
 
        be->bd_info = oi->oi_orig;
        if ( be->bd_info->bi_db_destroy ) {