fix uninitialized var

This commit is contained in:
Pierangelo Masarati 2003-11-29 17:24:34 +00:00
parent 65c26598d5
commit 71d488c28f

View file

@ -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++;