mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:44:12 +08:00
mdbx: fix minor Coverity warning.
Change-Id: Id92d85a7032a20a4b06d87878e32d8997b6558e3
This commit is contained in:
parent
45909eca61
commit
d4b16c981d
@ -3994,7 +3994,8 @@ static int mdbx_page_loose(MDBX_txn *txn, MDBX_page *mp) {
|
||||
|
||||
mdbx_debug("loosen page %" PRIaPGNO, pgno);
|
||||
const bool is_dirty = IS_DIRTY(mp);
|
||||
if (MDBX_DEBUG || unlikely((txn->mt_env->me_flags & MDBX_PAGEPERTURB) != 0)) {
|
||||
if (MDBX_DEBUG != 0 ||
|
||||
unlikely((txn->mt_env->me_flags & MDBX_PAGEPERTURB) != 0)) {
|
||||
mdbx_kill_page(txn->mt_env, mp, pgno, npages);
|
||||
VALGRIND_MAKE_MEM_UNDEFINED(mp, PAGEHDRSZ);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user