From: Howard Chu Date: Wed, 26 Sep 2007 20:21:53 +0000 (+0000) Subject: coverity - init i X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~596 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c428a163323283ad7c7c0dfaf1c3d5ea9772037b;p=openldap coverity - init i --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 2afe5f11df..bc0b3d9a3c 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -2644,7 +2644,7 @@ ldap_back_controls_free( Operation *op, SlapReply *rs, LDAPControl ***pctrls ) /* we assume that the controls added by the proxy come first, * so as soon as we find op->o_ctrls[ 0 ] we can stop */ if ( ctrls && ctrls != op->o_ctrls ) { - int i, n = 0, n_added; + int i = 0, n = 0, n_added; void *lower, *upper; assert( ctrls[ 0 ] != NULL );