1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +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

@@ -99,7 +99,7 @@ public:
}
public:
std::tuple<bool, ObjectRepositoryItem> Create(sint32 language, const std::string &path) const override
std::tuple<bool, ObjectRepositoryItem> Create([[maybe_unused]] sint32 language, const std::string& path) const override
{
Object * object = nullptr;
auto extension = Path::GetExtension(path);