]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Wed, 21 Aug 2002 18:11:30 +0000 (18:11 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 21 Aug 2002 18:11:30 +0000 (18:11 +0000)
servers/slapd/modrdn.c

index be11fdb6e0bb93c300bd9bc69c6ea7b1b77f694d..8bf032189e818de2f8467d55cfefbe7cf8589c8f 100644 (file)
@@ -403,7 +403,6 @@ slap_modrdn2mods(
 
        /* Add new attribute values to the entry */
        for ( a_cnt = 0; new_rdn[ 0 ][ a_cnt ]; a_cnt++ ) {
-               int                     rc;
                AttributeDescription    *desc = NULL;
                Modifications           *mod_tmp;
 
@@ -458,7 +457,6 @@ slap_modrdn2mods(
        /* Remove old rdn value if required */
        if ( deleteoldrdn ) {
                for ( d_cnt = 0; old_rdn[ 0 ][ d_cnt ]; d_cnt++ ) {
-                       int                     rc;
                        AttributeDescription    *desc = NULL;
                        Modifications           *mod_tmp;