Kernel: Cast unused smart-pointer return value to void

This commit is contained in:
Sam Atkins 2021-12-02 12:52:09 +00:00 committed by Andreas Kling
parent 16e5f24e64
commit 907feb84a0
Notes: sideshowbarker 2024-07-17 23:09:05 +09:00

View File

@ -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)