Bug 879029: Remove no-longer-used variable 'xpc' from nsCxPusher::DoPush. r=bholley

This commit is contained in:
Daniel Holbert 2013-06-03 16:17:22 -07:00
parent e1d4e07b0f
commit b867c07c1b

View File

@ -117,7 +117,6 @@ nsCxPusher::Push(JSContext *cx)
void
nsCxPusher::DoPush(JSContext* cx)
{
nsXPConnect *xpc = nsXPConnect::XPConnect();
// NB: The GetDynamicScriptContext is historical and might not be sane.
if (cx && nsJSUtils::GetDynamicScriptContext(cx) &&
xpc::IsJSContextOnStack(cx))