mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-03 02:41:24 +08:00
ITS#9308 - ensure "i" is initialized
This commit is contained in:
parent
9688f032c5
commit
1b3fcd4e75
@ -336,7 +336,7 @@ do_oc:;
|
||||
|
||||
ObjectClass *oc;
|
||||
|
||||
for ( oc_start( &oc ); oc != NULL; oc_next( &oc ) ) {
|
||||
for ( i = 0, oc_start( &oc ); oc != NULL; oc_next( &oc ) ) {
|
||||
/* we can only add AUXILIARY objectClasses */
|
||||
if ( oc->soc_kind != LDAP_SCHEMA_AUXILIARY ) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user