From: Hallvard Furuseth Date: Thu, 6 Dec 2007 17:13:01 +0000 (+0000) Subject: Remove unused variable X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~341 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=af50afcbe0908a2b324549ec3c3b22c90baab487;p=openldap Remove unused variable --- diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index c08e241295..942774a665 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -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 );