forked from 0ad/0ad
gcc warning fixes
This was SVN commit r701.
This commit is contained in:
parent
d38ed70623
commit
4c1ef2df21
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user