mdbx: fix minor CLANG 14/15 warnings.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-05-17 13:36:38 +03:00
parent d890d3c103
commit 70d9efdce4
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ mdbx_global_destructor(void) {
#if MDBX_USE_OFDLOCKS
static int op_setlk, op_setlkw, op_getlk;
__cold static void choice_fcntl() {
__cold static void choice_fcntl(void) {
assert(!op_setlk && !op_setlkw && !op_getlk);
if ((mdbx_runtime_flags & MDBX_DBG_LEGACY_MULTIOPEN) == 0
#if defined(__linux__) || defined(__gnu_linux__)