From d48bce4b66c974b80fa265108ab93fd4d1444a90 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 16 Jun 2005 06:44:50 +0000 Subject: [PATCH] remove unused --- stepmania/src/LuaManager.cpp | 6 ------ stepmania/src/LuaManager.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/stepmania/src/LuaManager.cpp b/stepmania/src/LuaManager.cpp index ce0b28c711..85ff9ff196 100644 --- a/stepmania/src/LuaManager.cpp +++ b/stepmania/src/LuaManager.cpp @@ -380,12 +380,6 @@ bool LuaManager::RunAtExpressionS( CString &sStr ) return true; } -void LuaManager::Fail( const CString &err ) -{ - lua_pushstring( L, err ); - lua_error( L ); -} - /* Like luaL_typerror, but without the special case for argument 1 being "self" * in method calls, so we give a correct error message after we remove self. */ int LuaHelpers::TypeError( Lua *L, int iArgNo, const char *szName ) diff --git a/stepmania/src/LuaManager.h b/stepmania/src/LuaManager.h index a07bd54735..0a31d3a6fd 100644 --- a/stepmania/src/LuaManager.h +++ b/stepmania/src/LuaManager.h @@ -62,8 +62,6 @@ public: /* If sStr begins with @, evaluate the rest as an expression and store the result over sStr. */ bool RunAtExpressionS( CString &sStr ); - void Fail( const CString &err ); - void SetGlobal( const CString &sName, int val ); void SetGlobal( const CString &sName, bool val ); void SetGlobal( const CString &sName, const CString &val );