mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
check return value. it's correct and it fixes a warning too.
This commit is contained in:
parent
5cb145cb30
commit
268c0e11b6
@ -2022,6 +2022,7 @@ NS_IMETHODIMP nsProfile::GetCookie(nsString& aCookie)
|
||||
nsIURI *aURL;
|
||||
|
||||
nsresult rv = NS_NewURL(&aURL, PREG_URL);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
nsresult res = nsServiceManager::GetService(kNetServiceCID,
|
||||
kINetServiceIID,
|
||||
|
Loading…
Reference in New Issue
Block a user