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
+8 -8
View File
@@ -29,7 +29,7 @@ namespace sdl
{
static Timer * instance = 0;
int w_step(lua_State * L)
int w_step(lua_State *)
{
instance->step();
return 0;
@@ -94,13 +94,13 @@ namespace sdl
else
instance->retain();
WrappedModule w;
w.module = instance;
w.name = "timer";
w.flags = MODULE_T;
w.functions = functions;
w.types = 0;
WrappedModule w;
w.module = instance;
w.name = "timer";
w.flags = MODULE_T;
w.functions = functions;
w.types = 0;
return luax_register_module(L, w);
}