diff options
Diffstat (limited to 'src/util/check.h')
-rw-r--r-- | src/util/check.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/check.h b/src/util/check.h index 80e973e7e2..4ee65c8d34 100644 --- a/src/util/check.h +++ b/src/util/check.h @@ -51,7 +51,7 @@ void assertion_fail(const char* file, int line, const char* func, const char* as /** Helper for Assert()/Assume() */ template <bool IS_ASSERT, typename T> -T&& inline_assertion_check(T&& val, const char* file, int line, const char* func, const char* assertion) +T&& inline_assertion_check(T&& val, [[maybe_unused]] const char* file, [[maybe_unused]] int line, [[maybe_unused]] const char* func, [[maybe_unused]] const char* assertion) { if constexpr (IS_ASSERT #ifdef ABORT_ON_FAILED_ASSUME |