mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Remove the name of some unused arguments
Remove some usage of the `UNUSED` macro. Remove only those cases where the names can be deduced from their type. https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-unused
This commit is contained in:
@@ -127,7 +127,7 @@ private:
|
||||
|
||||
|
||||
#define DEFAULT_SCRIPT_WRAPPER(cname) \
|
||||
static void ClassInit(CComponentManager& UNUSED(componentManager)) { } \
|
||||
static void ClassInit(CComponentManager&) { } \
|
||||
void HandleMessage(const CMessage& msg, bool global) override \
|
||||
{ \
|
||||
m_Script.HandleMessage(msg, global); \
|
||||
|
||||
Reference in New Issue
Block a user