From c428a163323283ad7c7c0dfaf1c3d5ea9772037b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 26 Sep 2007 20:21:53 +0000 Subject: [PATCH] coverity - init i --- servers/slapd/back-ldap/bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5