mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-03 00:36:52 +03:00
Kernel: Cast unused smart-pointer return value to void
This commit is contained in:
parent
16e5f24e64
commit
907feb84a0
Notes:
sideshowbarker
2024-07-17 23:09:05 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/907feb84a01 Pull-request: https://github.com/SerenityOS/serenity/pull/11151
@ -197,7 +197,7 @@ ErrorOr<Region*> AddressSpace::allocate_region_with_vmobject(VirtualRange const&
|
||||
|
||||
void AddressSpace::deallocate_region(Region& region)
|
||||
{
|
||||
take_region(region);
|
||||
(void)take_region(region);
|
||||
}
|
||||
|
||||
NonnullOwnPtr<Region> AddressSpace::take_region(Region& region)
|
||||
|
Loading…
Reference in New Issue
Block a user