]> git.sur5r.net Git - openldap/commitdiff
Remove unused variable
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 6 Dec 2007 17:13:01 +0000 (17:13 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 6 Dec 2007 17:13:01 +0000 (17:13 +0000)
servers/slapd/back-bdb/modify.c

index c08e241295ced758eca0daeac45ded766b49f29c..942774a6657c5521d85d627aa251bdd19f8039b1 100644 (file)
@@ -251,7 +251,7 @@ int bdb_modify_internal(
        /* start with deleting the old index entries */
        for ( ap = save_attrs; ap != NULL; ap = ap->a_next ) {
                if ( ap->a_flags & SLAP_ATTR_IXDEL ) {
-                       struct berval tmp, *vals;
+                       struct berval *vals;
                        Attribute *a2;
                        ap->a_flags &= ~SLAP_ATTR_IXDEL;
                        a2 = attr_find( e->e_attrs, ap->a_desc );