aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-08-17 23:13:41 +0200
committerTreeston <treeston.mmoc@gmail.com>2020-08-17 23:13:41 +0200
commit5ecbe93f7d75ea3c4808ce45ccc7d14e1d42b26b (patch)
treeaec152d2323bc0a7e7ef593acccfc24fd302dd92 /src
parent0b13fc192698f65cc6e338ef92c22d4d783281b9 (diff)
[[maybe_unused]] to make CIs happy, 0b13fc1 follow-up
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Commands/cs_debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Commands/cs_debug.cpp b/src/server/scripts/Commands/cs_debug.cpp
index b4775d94857..4b12e66407e 100644
--- a/src/server/scripts/Commands/cs_debug.cpp
+++ b/src/server/scripts/Commands/cs_debug.cpp
@@ -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();