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 9dda412b4e
commit 5a01964448

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),