mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Kernel: Cast unused smart-pointer return value to void
This commit is contained in:
parent
16e5f24e64
commit
907feb84a0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue