mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-06 18:44:13 +08:00
mdbx: fix unused
warning for case MDBX_DISABLE_VALIDATION
.
This commit is contained in:
parent
c4dd83fbdf
commit
289636834c
@ -14181,7 +14181,9 @@ __hot static __always_inline pgr_t page_get_inline(const uint16_t ILL,
|
|||||||
} else {
|
} else {
|
||||||
assert(false);
|
assert(false);
|
||||||
}
|
}
|
||||||
#endif /* !MDBX_DISABLE_VALIDATION */
|
#else
|
||||||
|
(void)ILL;
|
||||||
|
#endif /* MDBX_DISABLE_VALIDATION */
|
||||||
|
|
||||||
if (unlikely(mc->mc_checking & CC_PAGECHECK) &&
|
if (unlikely(mc->mc_checking & CC_PAGECHECK) &&
|
||||||
unlikely(MDBX_SUCCESS != (r.err = mdbx_page_check(mc, r.page))))
|
unlikely(MDBX_SUCCESS != (r.err = mdbx_page_check(mc, r.page))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user