]> git.sur5r.net Git - openldap/commitdiff
Silence warning
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 27 Jul 2005 08:33:59 +0000 (08:33 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 27 Jul 2005 08:33:59 +0000 (08:33 +0000)
clients/tools/ldapmodify.c

index 64f851f30a3de352b761607a0dfd0a556be1091d..44444d53ec98f726ffe7335b0b12bc7f3f0a3a36 100644 (file)
@@ -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;