mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user