mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 12:22:39 -03:00
util/check: avoid unused parameter warnings
This commit is contained in:
parent
1021e4cc68
commit
0add4dbadb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue