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 authored and Michał Janiszewski committed 2018-06-06 21:03:11 +02:00
1 parent 27b684e785
commit 204dd4439b
23 files changed
+175 -106

No files matched your search

+1 -1
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);