mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1144031 - fix use of uninitialized variable, r=mcmanus
This commit is contained in:
parent
3d1655bb5a
commit
5510ec54ed
@ -1865,11 +1865,11 @@ nsProtocolProxyService::ApplyFilters(nsIChannel *channel,
|
||||
// somewhat inefficient, but it seems like a good idea since we want each
|
||||
// filter to "see" a valid proxy list.
|
||||
|
||||
nsresult rv;
|
||||
nsCOMPtr<nsIProxyInfo> result;
|
||||
|
||||
for (FilterLink *iter = mFilters; iter; iter = iter->next) {
|
||||
PruneProxyInfo(info, list);
|
||||
nsresult rv = NS_OK;
|
||||
if (iter->filter) {
|
||||
nsCOMPtr<nsIURI> uri;
|
||||
rv = GetProxyURI(channel, getter_AddRefs(uri));
|
||||
|
Loading…
Reference in New Issue
Block a user