From: Ralf Haferkamp Date: Wed, 15 Jun 2005 18:00:49 +0000 (+0000) Subject: silence warning X-Git-Tag: OPENLDAP_AC_BP~524 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9fb5e63f4b43bc2089ad1d94f19a04e2294b37b;p=openldap silence warning --- 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()