From: Pierangelo Masarati Date: Sat, 29 Nov 2003 17:24:34 +0000 (+0000) Subject: fix uninitialized var X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~345 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=71d488c28f4e5486094859cb485f2d92d9272d86;p=openldap fix uninitialized var --- 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++;