summaryrefslogtreecommitdiff
path: root/Kernel/Memory
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-02 12:52:09 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-05 15:31:03 +0100
commit907feb84a013559b59be381050e9bf71537ded9f (patch)
treea5c97cacfa7fd158ce6cb88152b352f3763debf9 /Kernel/Memory
parent16e5f24e645271b564147bb32acec8d057c418da (diff)
downloadserenity-907feb84a013559b59be381050e9bf71537ded9f.zip
Kernel: Cast unused smart-pointer return value to void
Diffstat (limited to 'Kernel/Memory')
-rw-r--r--Kernel/Memory/AddressSpace.cpp2
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)