mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
Eliminate more warnings
This commit is contained in:
@@ -97,7 +97,7 @@ namespace sdl
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int w_quit(lua_State * L)
|
int w_quit(lua_State *)
|
||||||
{
|
{
|
||||||
Message *m = new Message("quit");
|
Message *m = new Message("quit");
|
||||||
instance->push(m);
|
instance->push(m);
|
||||||
|
|||||||
@@ -507,9 +507,6 @@ namespace opengl
|
|||||||
|
|
||||||
int w_setFont(lua_State * L)
|
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);
|
Font * font = luax_checktype<Font>(L, 1, "Font", GRAPHICS_FONT_T);
|
||||||
instance->setFont(font);
|
instance->setFont(font);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user