From: Howard Chu Date: Sun, 8 Oct 2006 00:31:08 +0000 (+0000) Subject: Fix uninit (coverity) X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~70 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=65f7c1a50d229b05f9a9a2ff399098f1527a3d74;p=openldap Fix uninit (coverity) --- diff --git a/servers/slapd/back-monitor/thread.c b/servers/slapd/back-monitor/thread.c index 5898070a62..4e307beccd 100644 --- a/servers/slapd/back-monitor/thread.c +++ b/servers/slapd/back-monitor/thread.c @@ -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; }