Remove unused variable

This commit is contained in:
Hallvard Furuseth 2007-12-06 17:13:01 +00:00
parent e50cb47542
commit af50afcbe0

View File

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