Fix uninit (coverity)

This commit is contained in:
Howard Chu 2006-10-08 00:31:08 +00:00
parent acdddee3ab
commit 65f7c1a50d

View File

@ -201,11 +201,11 @@ monitor_subsys_thread_update(
for ( i = 0; !BER_BVISNULL( &mt[ i ].nrdn ); i++ ) { for ( i = 0; !BER_BVISNULL( &mt[ i ].nrdn ); i++ ) {
if ( dn_match( &mt[ i ].nrdn, &rdn ) ) { if ( dn_match( &mt[ i ].nrdn, &rdn ) ) {
which = i;
break; break;
} }
} }
which = i;
if ( BER_BVISNULL( &mt[ which ].nrdn ) ) { if ( BER_BVISNULL( &mt[ which ].nrdn ) ) {
return SLAP_CB_CONTINUE; return SLAP_CB_CONTINUE;
} }