diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2018-10-23 20:28:01 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2018-10-23 20:28:01 -0400 |
commit | e4cc27a0e791be3d504ed91355a9ea03711f2aa5 (patch) | |
tree | bacf81fbc4027c08068aedf4cdd572a17c5f1ade /netwerk | |
parent | dbac7d6914a2a370bca54f9912dbfeaee2182584 (diff) | |
download | uxp-e4cc27a0e791be3d504ed91355a9ea03711f2aa5.tar.gz |
backport m-c bug 1333172 - Avoid 1100 warnings by replacing NS_ENSURE_SUCCESS in nsNetUtilInlines.h:180
Diffstat (limited to 'netwerk')
-rw-r--r-- | netwerk/base/nsNetUtilInlines.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/netwerk/base/nsNetUtilInlines.h b/netwerk/base/nsNetUtilInlines.h index 7003814d59..b831ec2e75 100644 --- a/netwerk/base/nsNetUtilInlines.h +++ b/netwerk/base/nsNetUtilInlines.h @@ -224,7 +224,9 @@ NS_NewChannelInternal(nsIChannel **outChannel, aUri, aLoadInfo, getter_AddRefs(channel)); - NS_ENSURE_SUCCESS(rv, rv); + if (NS_FAILED(rv)) { + return rv; + } if (aLoadGroup) { rv = channel->SetLoadGroup(aLoadGroup); |