diff options
author | 2024-03-08 15:48:44 +0000 | |
---|---|---|
committer | 2024-03-12 15:52:28 +0000 | |
commit | 5937cdeeef4639e523ae3cfde3bfce3ccb252921 (patch) | |
tree | 8c87fc2983ee01ae68fa79be1afb6cd3886d3053 /runtime/gc/allocator/rosalloc.h | |
parent | 68f3ec8001c46f00f82043d7100c04dee4449c48 (diff) |
Remove default cases when all cases are defined
Bug: 328756212
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Test: m test-art-host-gtest
Change-Id: I9584e1b93e49265b84a9e45c8b283ebaf8ad3eb2
Diffstat (limited to 'runtime/gc/allocator/rosalloc.h')
-rw-r--r-- | runtime/gc/allocator/rosalloc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/gc/allocator/rosalloc.h b/runtime/gc/allocator/rosalloc.h index 333f80ff92..6dd3fda0e3 100644 --- a/runtime/gc/allocator/rosalloc.h +++ b/runtime/gc/allocator/rosalloc.h @@ -95,9 +95,6 @@ class RosAlloc { return IsLargerThanPageReleaseThreshold(rosalloc) && IsAtEndOfSpace(rosalloc); case kPageReleaseModeAll: return true; - default: - LOG(FATAL) << "Unexpected page release mode "; - return false; } } void ReleasePages(RosAlloc* rosalloc) REQUIRES(rosalloc->lock_) { |