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:
committed by
Michał Janiszewski
parent
27b684e785
commit
204dd4439b
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user