From fa9e2f7b29a487d0bcfc697b3f4a71c9387fe7ba Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 7 Dec 2014 17:38:16 +0200 Subject: SWORD25: Disable unused code Thanks to fingolfin for pointing out this unused code --- engines/sword25/util/lua/lapi.cpp | 3 ++- engines/sword25/util/lua/liolib.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/sword25/util') diff --git a/engines/sword25/util/lua/lapi.cpp b/engines/sword25/util/lua/lapi.cpp index b97e90012c..d7ebdcbe12 100644 --- a/engines/sword25/util/lua/lapi.cpp +++ b/engines/sword25/util/lua/lapi.cpp @@ -30,11 +30,12 @@ #include "common/textconsole.h" +#if 0 const char lua_ident[] = "Lua: " LUA_RELEASE " " LUA_COPYRIGHT " \n" "Authors: " LUA_AUTHORS " \n" "URL: www.lua.org\n"; - +#endif #define api_checknelems(L, n) api_check(L, (n) <= (L->top - L->base)) diff --git a/engines/sword25/util/lua/liolib.cpp b/engines/sword25/util/lua/liolib.cpp index 0d27f9677f..403dea2ec2 100644 --- a/engines/sword25/util/lua/liolib.cpp +++ b/engines/sword25/util/lua/liolib.cpp @@ -24,7 +24,7 @@ #define IO_OUTPUT 2 -static const char *const fnames[] = {"input", "output"}; +//static const char *const fnames[] = {"input", "output"}; static int pushresult (lua_State *L, int i, const char *filename) { -- cgit v1.2.3