Bug 871315 followup - Remove the unused rootedNull local variable

This commit is contained in:
Ehsan Akhgari 2013-05-13 13:54:38 -04:00
parent fc17efaf67
commit 6e72eccda2

View File

@ -858,7 +858,6 @@ nsEventListenerManager::CompileEventHandlerInternal(nsListenerStruct *aListenerS
options.setFileAndLine(url.get(), lineNo)
.setVersion(SCRIPTVERSION_DEFAULT);
JS::Rooted<JSObject*> rootedNull(cx, nullptr); // See bug 781070.
JS::Rooted<JSObject*> handlerFun(cx);
result = nsJSUtils::CompileFunction(cx, JS::NullPtr(), options,
nsAtomCString(aListenerStruct->mTypeAtom),