mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 06:20:41 +00:00
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:
parent
066bca4dc5
commit
32b7f90b27
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user