From f9fb5e63f4b43bc2089ad1d94f19a04e2294b37b Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Wed, 15 Jun 2005 18:00:49 +0000 Subject: [PATCH] silence warning --- servers/slapd/back-bdb/attr.c | 2 +- servers/slapd/overlays/accesslog.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/attr.c b/servers/slapd/back-bdb/attr.c index ecabe033c7..15b1e31f6a 100644 --- a/servers/slapd/back-bdb/attr.c +++ b/servers/slapd/back-bdb/attr.c @@ -271,7 +271,7 @@ bdb_attr_index_config( return LDAP_SUCCESS; } -static int +static void bdb_attr_index_unparser( void *v1, void *v2 ) { AttrInfo *ai = v1; diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index b3da2a206d..5a6b5db8ed 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -1028,6 +1028,7 @@ accesslog_db_destroy( log_info *li = on->on_bi.bi_private; free( li ); + return LDAP_SUCCESS; } int accesslog_init() -- 2.39.5