From 71d488c28f4e5486094859cb485f2d92d9272d86 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 29 Nov 2003 17:24:34 +0000 Subject: [PATCH] fix uninitialized var --- servers/slapd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index f0b868a236..cbfc9482ca 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -2850,7 +2850,7 @@ add_syncrepl( ch_free( si->si_filterstr.bv_val ); } if ( si_entry->si_attrs ) { - int i; + int i = 0; while ( si_entry->si_attrs[i] != NULL ) { ch_free( si_entry->si_attrs[i] ); i++; -- 2.39.5