Fix GCC 4.6 "set but not used" warnings

This was SVN commit r9194.
This commit is contained in:
Ykkrosh
2011-04-07 16:34:51 +00:00
parent 2b138f47db
commit e5e9e38532
4 changed files with 1 additions and 19 deletions
@@ -449,6 +449,7 @@ ScriptInterface_impl::ScriptInterface_impl(const char* nativeScopeName, const sh
m_glob = JS_NewGlobalObject(m_cx, &global_class);
ok = JS_InitStandardClasses(m_cx, m_glob);
debug_assert(ok);
JS_DefineProperty(m_cx, m_glob, "global", OBJECT_TO_JSVAL(m_glob), NULL, NULL, JSPROP_ENUMERATE | JSPROP_READONLY
| JSPROP_PERMANENT);