1
0
forked from 0ad/0ad

Fix some more warnings.

This was SVN commit r3156.
This commit is contained in:
prefect 2005-11-19 16:43:20 +00:00
parent 71f1d3ed68
commit 5c9501830c
3 changed files with 3 additions and 2 deletions

View File

@ -250,6 +250,7 @@ function setuppackage_engine (projectname)
package.buildoptions = { package.buildoptions = {
"-Wall", "-Wall",
"-Wunused-parameter", -- needs to be enabled explicitly
"-Wno-switch", -- enumeration value not handled in switch "-Wno-switch", -- enumeration value not handled in switch
"-Wno-reorder", -- order of initialization list in constructors "-Wno-reorder", -- order of initialization list in constructors
"-Wno-non-virtual-dtor", "-Wno-non-virtual-dtor",

View File

@ -106,7 +106,7 @@ public:
* *
* @return true if the row should be highlighted in a special color. * @return true if the row should be highlighted in a special color.
*/ */
virtual bool IsHighlightRow(uint row) { return false; } virtual bool IsHighlightRow(uint row) { UNUSED2(row); return false; }
}; };

View File

@ -169,7 +169,7 @@ CStr CRendererStatsTable::GetCellText(uint row, uint col)
} }
} }
AbstractProfileTable* CRendererStatsTable::GetChild(uint row) AbstractProfileTable* CRendererStatsTable::GetChild(uint UNUSED(row))
{ {
return 0; return 0;
} }