fixed a ridiculous number of gcc warnings, nearly all of which were complaints about unused parameters - the remaining 199 warnings I get are from code that isn't ours (box2d is responsible for all but 8 of them)

This commit is contained in:
Bill Meltsner
2010-02-26 03:55:21 -05:00
parent dbf8301f24
commit 7c33786100
13 changed files with 153 additions and 142 deletions
+2 -2
View File
@@ -252,7 +252,7 @@ namespace love
**/
int luax_getregistry(lua_State * L, Registry r);
Type luax_type(lua_State * L, int idx);
Type luax_type(lua_State * L, int idx);
/**
* Converts the value at idx to the specified type without checking that
@@ -264,7 +264,7 @@ namespace love
* @param type The type bit.
**/
template <typename T>
T * luax_totype(lua_State * L, int idx, const char * name, love::bits type)
T * luax_totype(lua_State * L, int idx, const char *, love::bits)
{
return (T*)(((Proxy *)lua_touserdata(L, idx))->data);
}