From 565e3db22d54b92d69e53ae42d0cbd0c5defd5c7 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Fri, 26 May 2023 22:23:17 +0300 Subject: [PATCH] Kernel: kmalloc debug_dump is marked [[maybe_unused]] --- kernel/kernel/Memory/kmalloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kernel/Memory/kmalloc.cpp b/kernel/kernel/Memory/kmalloc.cpp index 6c01e476..b3f9de8b 100644 --- a/kernel/kernel/Memory/kmalloc.cpp +++ b/kernel/kernel/Memory/kmalloc.cpp @@ -159,7 +159,7 @@ static bool is_corrupted() return (uintptr_t)temp != info.end; } -static void debug_dump() +[[maybe_unused]] static void debug_dump() { auto& info = s_kmalloc_info;