forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1268754 - Tweak some MFBT return values. r=Ms2ger.
This patch: - Adds MOZ_MUST_USE to AllocPolicy::checkSimulatedOOM(). - Adds MOZ_MUST_USE to LZ4::decompress() (both variants) and fixes their comments. - Changes the return type of SplayTree::insert() from bool to void, because it always returns true and its callers don't check the return value. - Changes the return type of SplayTree::finishInsertion() from T* to void, because it makes things clearer -- it was just returning the aNew argument. - Adds MOZ_MUST_USE to a Vector::growTo() (both variants). --HG-- extra : rebase_source : 1547cdeb9ee71d0ecec608ab474ab5e75bfc4b42
- Loading branch information
1 parent
9c703c1
commit d8dc169
Showing
4 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters