Eliminate more warnings

This commit is contained in:
Bart van Strien
2011-12-20 21:02:59 +01:00
parent 47561e8b14
commit 951d420db7
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ namespace sdl
return 0;
}
int w_quit(lua_State * L)
int w_quit(lua_State *)
{
Message *m = new Message("quit");
instance->push(m);
@@ -507,9 +507,6 @@ namespace opengl
int w_setFont(lua_State * L)
{
// The second parameter is an optional int.
int size = luaL_optint(L, 2, 12);
Font * font = luax_checktype<Font>(L, 1, "Font", GRAPHICS_FONT_T);
instance->setFont(font);
return 0;