From: Hallvard Furuseth Date: Wed, 27 Jul 2005 08:33:59 +0000 (+0000) Subject: Silence warning X-Git-Tag: OPENLDAP_AC_BP~185 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=262f199bb28e36f4f1c336dce9ecac44b91dfc96;p=openldap Silence warning --- diff --git a/clients/tools/ldapmodify.c b/clients/tools/ldapmodify.c index 64f851f30a..44444d53ec 100644 --- a/clients/tools/ldapmodify.c +++ b/clients/tools/ldapmodify.c @@ -316,12 +316,12 @@ main( int argc, char **argv ) #endif || preread || postread ) { - int err; int i = 0; LDAPControl c[1]; #ifdef LDAP_GROUP_TRANSACTION if( txn ) { + int err; txnber = ber_alloc_t( LBER_USE_DER ); if( txnber == NULL ) return EXIT_FAILURE;