fix warnings

This commit is contained in:
Steve Checkoway
2004-02-24 08:00:04 +00:00
parent f48728e003
commit 03499669bd
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -97,7 +97,7 @@ void LoadFromString( lua_State *L, const CString &str )
static jmp_buf jbuf;
static CString jbuf_error;
int LuaPanic( lua_State *L )
static int LuaPanic( lua_State *L )
{
CString err;
Lua::PopStack( L, err );
@@ -107,6 +107,7 @@ int LuaPanic( lua_State *L )
* an exception from there. */
jbuf_error = err;
longjmp( jbuf, 1 );
return 0; // control never reaches here but quiets warning
}
bool Lua::RunExpression( const CString &str )