aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sword25/sword25.cpp1
-rw-r--r--engines/sword25/util/lua/lapi.cpp3
-rw-r--r--engines/sword25/util/lua/liolib.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/sword25.cpp b/engines/sword25/sword25.cpp
index bb0aab3ad4..76142c2534 100644
--- a/engines/sword25/sword25.cpp
+++ b/engines/sword25/sword25.cpp
@@ -57,7 +57,6 @@ DECLARE_SINGLETON(Sword25::RenderObjectRegistry);
namespace Sword25 {
-const char *const PACKAGE_MANAGER = "archiveFS";
const char *const DEFAULT_SCRIPT_FILE = "/system/boot.lua";
Sword25Engine::Sword25Engine(OSystem *syst, const ADGameDescription *gameDesc):
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) {