mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-12 12:33:40 +00:00
Remove UNUSED
The `UNUSED` macro is used to mark a variable as unused but with a name. Those usages are replaced with comments so that `UNUSED` can be removed. https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-unused
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2017 Wildfire Games.
|
||||
/* Copyright (C) 2025 Wildfire Games.
|
||||
* ...the usual copyright header...
|
||||
*/
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
// ...
|
||||
}
|
||||
|
||||
virtual void HandleMessage(const CMessage& msg, bool UNUSED(global))
|
||||
virtual void HandleMessage(const CMessage& msg, bool /*global*/)
|
||||
{
|
||||
// ...
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user