Remove unused variable to fix warning in luaB_loadfile.

This commit is contained in:
GoldenTails 2021-09-06 15:05:34 -05:00
parent bd9118eae7
commit 6f19615fab

View file

@ -292,7 +292,6 @@ static int luaB_loadfile (lua_State *L) {
const char *filename = luaL_checkstring(L, 1);
char fullfilename[256];
UINT16 lumpnum;
int n = lua_gettop(L);
if (wadfiles[numwadfiles - 1]->type != RET_PK3)
luaL_error(L, "loadfile() only works with PK3 files");