mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +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:
@@ -105,7 +105,7 @@ CStr CScriptStatsTable::GetCellText(size_t row, size_t col)
|
||||
}
|
||||
}
|
||||
|
||||
AbstractProfileTable* CScriptStatsTable::GetChild(size_t UNUSED(row))
|
||||
AbstractProfileTable* CScriptStatsTable::GetChild(size_t /*row*/)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user