mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
fix return
This commit is contained in:
parent
b0075c970e
commit
d85e24dfa3
1 changed files with 2 additions and 5 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue