Remove unnecessary rooting

This was SVN commit r8957.
This commit is contained in:
Ykkrosh 2011-02-20 20:44:13 +00:00
parent e8a650bc30
commit 720bb3c87d

View File

@ -317,7 +317,6 @@ jsval CParamNode::ConstructJSVal(JSContext* cx) const
JSObject* obj = JS_NewObject(cx, NULL, NULL, NULL);
if (!obj)
return JSVAL_VOID; // TODO: report error
CScriptValRooted objRoot(cx, OBJECT_TO_JSVAL(obj));
for (std::map<std::string, CParamNode>::const_iterator it = m_Childs.begin(); it != m_Childs.end(); ++it)
{