From: Pierangelo Masarati Date: Mon, 8 Sep 2008 00:05:15 +0000 (+0000) Subject: don't risk using uninitialized vars X-Git-Tag: ACLCHECK_0~1372 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1447d7fe17a905bcfc9de66b831ec5d7526c6957;p=openldap don't risk using uninitialized vars --- diff --git a/servers/slapd/backover.c b/servers/slapd/backover.c index ce69388fa1..e14a0192a5 100644 --- a/servers/slapd/backover.c +++ b/servers/slapd/backover.c @@ -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 ) {