diff options
author | Filippos Karapetis | 2014-12-07 17:38:16 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-12-07 17:49:52 +0200 |
commit | fa9e2f7b29a487d0bcfc697b3f4a71c9387fe7ba (patch) | |
tree | 7e64d336d6c2559703f4eb869c848010c79425af /engines | |
parent | ce40801f5b80aaf8786b7ac790588bd83250372b (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/sword25/sword25.cpp | 1 | ||||
-rw-r--r-- | engines/sword25/util/lua/lapi.cpp | 3 | ||||
-rw-r--r-- | engines/sword25/util/lua/liolib.cpp | 2 |
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) { |