From d216e32d638e047af74b15f816bde7c7caead005 Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Wed, 13 Sep 2000 21:51:14 +0000 Subject: [PATCH] declare return value of index_mask() to be slap_mask_t, also get rid of extraneous code in for() loop --- servers/slapd/back-ldbm/index.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 2.39.5