mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 15:28:58 +01:00
kernel/vm: Add ASSERT_UNREACHABLE() in VMCache::Commit.
This should never be invoked; only derived-class implementations should be.
This commit is contained in:
parent
b11cc78c16
commit
d3b93408f1
@ -1297,8 +1297,8 @@ VMCache::FlushAndRemoveAllPages()
|
||||
status_t
|
||||
VMCache::Commit(off_t size, int priority)
|
||||
{
|
||||
committed_size = size;
|
||||
return B_OK;
|
||||
ASSERT_UNREACHABLE();
|
||||
return B_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user