mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
ITS#7913 cleanup
we already checked for data == NULL, drop unnecessary if
This commit is contained in:
parent
8fbbc71506
commit
a054a194e8
1 changed files with 1 additions and 2 deletions
|
|
@ -5859,8 +5859,7 @@ fetchm:
|
|||
MDB_node *leaf = NODEPTR(mc->mc_pg[mc->mc_top], mc->mc_ki[mc->mc_top]);
|
||||
if (!F_ISSET(leaf->mn_flags, F_DUPDATA)) {
|
||||
MDB_GET_KEY(leaf, key);
|
||||
if (data)
|
||||
rc = mdb_node_read(mc->mc_txn, leaf, data);
|
||||
rc = mdb_node_read(mc->mc_txn, leaf, data);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue