From 3baffe7cf27be8f4c928464869df58829f9d191c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 18 Apr 2003 04:44:46 +0000 Subject: [PATCH] Fix undefined filters --- servers/slapd/back-bdb/filterindex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/servers/slapd/back-bdb/filterindex.c b/servers/slapd/back-bdb/filterindex.c index 3b0ed135a3..bab0fbadf1 100644 --- a/servers/slapd/back-bdb/filterindex.c +++ b/servers/slapd/back-bdb/filterindex.c @@ -50,7 +50,7 @@ bdb_filter_candidates( ID *tmp, ID *stack ) { - int rc = -1; + int rc = 0; #ifdef NEW_LOGGING LDAP_LOG ( INDEX, ENTRY, "=> bdb_filter_candidates\n", 0, 0, 0 ); #else @@ -59,7 +59,6 @@ bdb_filter_candidates( switch ( f->f_choice ) { case SLAPD_FILTER_COMPUTED: - rc = 0; break; case SLAPD_FILTER_DN_ONE: @@ -150,7 +149,6 @@ bdb_filter_candidates( { struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private; BDB_IDL_ALL( bdb, ids ); } - rc = 0; break; case LDAP_FILTER_AND: -- 2.39.5