1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00

Mark unused arguments in the libopenrct2 project

For dummy classes and functions with empty bodies I've only commented out the arguments, for all others I used C++17's [[maybe_unused]].
This commit is contained in:
Hielke Morsink
2018-05-31 23:22:46 +02:00
committed by Michał Janiszewski
parent 27b684e785
commit 204dd4439b
23 changed files with 175 additions and 106 deletions

View File

@@ -129,7 +129,7 @@ public:
return {};
}
void LogWarning(uint32 code, const utf8 * text) override
void LogWarning([[maybe_unused]] uint32 code, const utf8* text) override
{
_wasWarning = true;
@@ -139,7 +139,7 @@ public:
}
}
void LogError(uint32 code, const utf8 * text) override
void LogError([[maybe_unused]] uint32 code, const utf8* text) override
{
_wasError = true;