From 1447d7fe17a905bcfc9de66b831ec5d7526c6957 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 8 Sep 2008 00:05:15 +0000 Subject: [PATCH] don't risk using uninitialized vars --- servers/slapd/backover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5