From: Pierangelo Masarati Date: Wed, 17 Feb 2010 20:08:07 +0000 (+0000) Subject: fix return X-Git-Tag: MIGRATION_CVS2GIT~687 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d85e24dfa3e754ddb4d2ce83040089f88350d7af;p=openldap fix return --- diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index ddde4da4f7..ee39853a2b 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -440,12 +440,9 @@ Entry* bdb_tool_entry_get( BackendDB *be, ID id ) { Entry *e = NULL; - int rc; - rc = bdb_tool_entry_get_int( be, id, &e ); - if ( rc == LDAP_SUCCESS ) { - return e; - } + (void)bdb_tool_entry_get_int( be, id, &e ); + return e; } static int bdb_tool_next_id(