From: Ben Collins Date: Wed, 13 Sep 2000 21:51:14 +0000 (+0000) Subject: declare return value of index_mask() to be slap_mask_t, also get rid of extraneous... X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2017 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d216e32d638e047af74b15f816bde7c7caead005;p=openldap declare return value of index_mask() to be slap_mask_t, also get rid of extraneous code in for() loop --- diff --git a/servers/slapd/back-ldbm/index.c b/servers/slapd/back-ldbm/index.c index 010ca61c6c..fda0e68612 100644 --- a/servers/slapd/back-ldbm/index.c +++ b/servers/slapd/back-ldbm/index.c @@ -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 ); }