mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
Bug 661967: Remove never-read local variable from nsIOService::GetProtocolHandler. r=bz
This commit is contained in:
parent
3a85af8230
commit
13c008cef5
@ -429,7 +429,6 @@ nsIOService::GetProtocolHandler(const char* scheme, nsIProtocolHandler* *result)
|
||||
return rv;
|
||||
|
||||
PRBool externalProtocol = PR_FALSE;
|
||||
PRBool listedProtocol = PR_TRUE;
|
||||
nsCOMPtr<nsIPrefBranch2> prefBranch;
|
||||
GetPrefBranch(getter_AddRefs(prefBranch));
|
||||
if (prefBranch) {
|
||||
@ -438,7 +437,6 @@ nsIOService::GetProtocolHandler(const char* scheme, nsIProtocolHandler* *result)
|
||||
rv = prefBranch->GetBoolPref(externalProtocolPref.get(), &externalProtocol);
|
||||
if (NS_FAILED(rv)) {
|
||||
externalProtocol = PR_FALSE;
|
||||
listedProtocol = PR_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user