[[maybe_unused]] to make CIs happy, 0b13fc1 follow-up

This commit is contained in:
Treeston
2020-08-17 23:13:41 +02:00
parent 0b13fc1926
commit 5ecbe93f7d

View File

@@ -1705,7 +1705,7 @@ public:
return true;
}
static bool HandleDebugOutOfBounds(ChatHandler* handler, CommandArgs* /*args*/)
static bool HandleDebugOutOfBounds([[maybe_unused]] ChatHandler* handler, CommandArgs* /*args*/)
{
#ifdef ASAN
uint8 stack_array[10] = {};
@@ -1716,7 +1716,7 @@ public:
return true;
}
static bool HandleDebugMemoryLeak(ChatHandler* handler)
static bool HandleDebugMemoryLeak([[maybe_unused]] ChatHandler* handler)
{
#ifdef ASAN
uint8* leak = new uint8();