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
@@ -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;