aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-07 17:38:16 +0200
committerFilippos Karapetis2014-12-07 17:49:52 +0200
commitfa9e2f7b29a487d0bcfc697b3f4a71c9387fe7ba (patch)
tree7e64d336d6c2559703f4eb869c848010c79425af /engines/sword25/util
parentce40801f5b80aaf8786b7ac790588bd83250372b (diff)
downloadscummvm-rg350-fa9e2f7b29a487d0bcfc697b3f4a71c9387fe7ba.tar.gz
scummvm-rg350-fa9e2f7b29a487d0bcfc697b3f4a71c9387fe7ba.tar.bz2
scummvm-rg350-fa9e2f7b29a487d0bcfc697b3f4a71c9387fe7ba.zip
SWORD25: Disable unused code
Thanks to fingolfin for pointing out this unused code
Diffstat (limited to 'engines/sword25/util')
-rw-r--r--engines/sword25/util/lua/lapi.cpp3
-rw-r--r--engines/sword25/util/lua/liolib.cpp2
2 files changed, 3 insertions, 2 deletions
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) {