mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +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
@@ -968,7 +968,8 @@ static sint32 cc_show_limits(InteractiveConsole & console, [[maybe_unused]] cons
|
||||
return 0;
|
||||
}
|
||||
|
||||
static sint32 cc_for_date(InteractiveConsole & console, [[maybe_unused]] const utf8 ** argv, [[maybe_unused]] sint32 argc)
|
||||
static sint32
|
||||
cc_for_date([[maybe_unused]] InteractiveConsole& console, [[maybe_unused]] const utf8** argv, [[maybe_unused]] sint32 argc)
|
||||
{
|
||||
sint32 year = 0;
|
||||
sint32 month = 0;
|
||||
|
||||
Reference in New Issue
Block a user