From 4a55f5281826ecce1e7648b7b3e74105a25cae85 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 18 Apr 2013 17:09:32 +0200 Subject: SWORD25: Silence warning in the Lua code This fixes warnings like this that crop up when compiling sword25 with Apple clang 4.2 (clang-425.0.28) (based on LLVM 3.2svn) --- engines/sword25/util/lua/lua.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'engines/sword25/util/lua/lua.h') diff --git a/engines/sword25/util/lua/lua.h b/engines/sword25/util/lua/lua.h index 768ec1ad74..a3b7573ca5 100644 --- a/engines/sword25/util/lua/lua.h +++ b/engines/sword25/util/lua/lua.h @@ -48,16 +48,6 @@ #define LUA_ERRMEM 4 #define LUA_ERRERR 5 -// Added in ScummVM. Refer to http://www.lua.org/manual/5.1/manual.html -static const char* luaErrorDescription[] = { - "No error", - "Coroutine yield", // not an actual error, see lua_resume - "Runtime error", - "Syntax error during pre-compilation", // refer to lua_load - "Memory allocation error", - "Error while running the error handler function" -}; - typedef struct lua_State lua_State; typedef int (*lua_CFunction) (lua_State *L); -- cgit v1.2.3