ITS#7913 cleanup

we already checked for data == NULL, drop unnecessary if
vl32
Howard Chu 10 years ago
parent 8fbbc71506
commit a054a194e8
  1. 1
      libraries/liblmdb/mdb.c

@ -5859,7 +5859,6 @@ 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);
break;
}

Loading…
Cancel
Save