mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 727970: Check formerly-unused rv in TestProtocols.cpp, to fix build warning. r=jduell
This commit is contained in:
parent
b1718426bb
commit
df204fac8a
@ -797,6 +797,12 @@ nsresult LoadURLsFromFile(char *aFileName)
|
||||
if (urlString.Length()) {
|
||||
LOG(("\t%s\n", urlString.get()));
|
||||
rv = StartLoadingURL(urlString.get());
|
||||
if (NS_FAILED(rv)) {
|
||||
// No need to log an error -- StartLoadingURL already
|
||||
// did that for us, probably.
|
||||
PR_Close(fd);
|
||||
return rv;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user