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++ ) {
if ( dn_match( &mt[ i ].nrdn, &rdn ) ) {
which = i;
break;
}
}
which = i;
if ( BER_BVISNULL( &mt[ which ].nrdn ) ) {
return SLAP_CB_CONTINUE;
}