From: Hallvard Furuseth Date: Mon, 4 Jul 2005 05:21:39 +0000 (+0000) Subject: Let bdb_attr_index_unparser() return int (0) instead of void; the return X-Git-Tag: OPENLDAP_AC_BP~462 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b746066b9b75c4f77d69e0dd5004584a67a2be8b;p=openldap Let bdb_attr_index_unparser() return int (0) instead of void; the return value of an AVL_APPLY function is significant. --- diff --git a/servers/slapd/back-bdb/attr.c b/servers/slapd/back-bdb/attr.c index 15b1e31f6a..f058c1f596 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 void +static int bdb_attr_index_unparser( void *v1, void *v2 ) { AttrInfo *ai = v1; @@ -289,6 +289,7 @@ bdb_attr_index_unparser( void *v1, void *v2 ) bv.bv_val = ptr; ber_bvarray_add( bva, &bv ); } + return 0; } static AttributeDescription addef = { NULL, NULL, BER_BVC("default") };