mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Temporarily disable the Spidermonkey warnings for release
This was SVN commit r15127.
This commit is contained in:
parent
83b6175358
commit
db0376fdc2
1 changed files with 2 additions and 1 deletions
|
|
@ -637,7 +637,8 @@ ScriptInterface_impl::ScriptInterface_impl(const char* nativeScopeName, const sh
|
|||
JS_SetErrorReporter(m_cx, ErrorReporter);
|
||||
|
||||
u32 options = 0;
|
||||
options |= JSOPTION_EXTRA_WARNINGS; // "warn on dubious practice"
|
||||
// FIXME is temporarily disabled for release, but should be reenabled again
|
||||
// options |= JSOPTION_EXTRA_WARNINGS; // "warn on dubious practice"
|
||||
// We use strict mode to encourage better coding practices and
|
||||
//to get code that can be optimized better by Spidermonkey's JIT compiler.
|
||||
options |= JSOPTION_STRICT_MODE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue