diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-12-02 12:52:09 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-05 15:31:03 +0100 |
commit | 907feb84a013559b59be381050e9bf71537ded9f (patch) | |
tree | a5c97cacfa7fd158ce6cb88152b352f3763debf9 /Kernel/Memory | |
parent | 16e5f24e645271b564147bb32acec8d057c418da (diff) | |
download | serenity-907feb84a013559b59be381050e9bf71537ded9f.zip |
Kernel: Cast unused smart-pointer return value to void
Diffstat (limited to 'Kernel/Memory')
-rw-r--r-- | Kernel/Memory/AddressSpace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Memory/AddressSpace.cpp b/Kernel/Memory/AddressSpace.cpp index d936be2b40..d32d8055b1 100644 --- a/Kernel/Memory/AddressSpace.cpp +++ b/Kernel/Memory/AddressSpace.cpp @@ -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) |