mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 998736 removed NS_ENSURE_SUCCESS to avoid spamming mochitests. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D177662
This commit is contained in:
parent
5817d7adf0
commit
73d5d1ddc9
@ -506,7 +506,9 @@ nsFileInputStream::Read(char* aBuf, uint32_t aCount, uint32_t* _retval) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
if (NS_FAILED(rv)) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
// Check if we're at the end of file and need to close
|
||||
if (mBehaviorFlags & CLOSE_ON_EOF && *_retval == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user