mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
declare return value of index_mask() to be slap_mask_t, also get rid of extraneous code in for() loop
This commit is contained in:
parent
16cdbd9c74
commit
d216e32d63
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
#include "slap.h"
|
||||
#include "back-ldbm.h"
|
||||
|
||||
static index_mask(
|
||||
static slap_mask_t index_mask(
|
||||
Backend *be,
|
||||
AttributeDescription *desc,
|
||||
char **dbname,
|
||||
|
|
@ -325,7 +325,7 @@ index_entry(
|
|||
|
||||
|
||||
/* add each attribute to the indexes */
|
||||
for ( ap; ap != NULL; ap = ap->a_next ) {
|
||||
for ( ; ap != NULL; ap = ap->a_next ) {
|
||||
index_values( be, ap->a_desc, ap->a_vals, e->e_id, op );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue