Bug 647549 - Unused variable newInnerJSObject in nsJSContext::ConnectToInner; r=jst

This commit is contained in:
Ms2ger 2011-04-11 08:45:40 -07:00
parent 6209cb624a
commit d791c18c29

View File

@ -2253,7 +2253,9 @@ nsresult
nsJSContext::ConnectToInner(nsIScriptGlobalObject *aNewInner, void *aOuterGlobal)
{
NS_ENSURE_ARG(aNewInner);
#ifdef DEBUG
JSObject *newInnerJSObject = (JSObject *)aNewInner->GetScriptGlobal(JAVASCRIPT);
#endif
JSObject *outerGlobal = (JSObject *)aOuterGlobal;
// Now that we're connecting the outer global to the inner one,