mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-25 01:52:31 +00:00
gcc warning fixes
This was SVN commit r701.
This commit is contained in:
@@ -143,7 +143,7 @@ jsval ScriptingHost::ExecuteScript(const std::string & script)
|
||||
|
||||
JSBool ok = JS_EvaluateScript(m_Context, m_GlobalObject, script.c_str(), (int)script.length(), "Console", 0, &rval);
|
||||
|
||||
if( !ok ) return( NULL );
|
||||
if (!ok) return JSVAL_NULL;
|
||||
|
||||
return rval;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user