From 4c20a6136312cb6697ca3785f0f4e511b1e88682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Fri, 31 Oct 2025 19:03:09 +0300 Subject: [PATCH] mdbx: workaroud/fix for `unused function 'osal_yield'` from modern clang. --- src/osal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osal.h b/src/osal.h index 2b6ecb4a..a058ebaf 100644 --- a/src/osal.h +++ b/src/osal.h @@ -171,7 +171,7 @@ typedef char pathchar_t; #define MDBX_PRIsPATH "s" #endif -static inline bool osal_yield(void) { +MDBX_MAYBE_UNUSED static inline bool osal_yield(void) { #if defined(_WIN32) || defined(_WIN64) return SleepEx(0, true) == WAIT_IO_COMPLETION; #else