Bug 821843: Remove no-longer-used variable 'isJava' from nsPluginHost.cpp, to fix GCC 4.7 warning (treated as error in enable-warnings-as-errors builds). r=johns

This commit is contained in:
Daniel Holbert 2012-12-14 13:08:49 -08:00
parent 066bca4dc5
commit 32b7f90b27

View File

@ -953,12 +953,6 @@ nsPluginHost::InstantiatePluginInstance(const char *aMimeType, nsIURI* aURL,
return NS_ERROR_FAILURE;
}
bool isJava = false;
nsPluginTag* pluginTag = FindPluginForType(aMimeType, true);
if (pluginTag) {
isJava = pluginTag->mIsJavaPlugin;
}
rv = SetUpPluginInstance(aMimeType, aURL, instanceOwner);
if (NS_FAILED(rv)) {
return NS_ERROR_FAILURE;