From 371a27398870ec4bfb5be378369686cc814f61be Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 27 Jul 2020 15:22:40 -0700 Subject: [PATCH] kern: fix building under release config --- libmesosphere/source/kern_k_interrupt_task_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmesosphere/source/kern_k_interrupt_task_manager.cpp b/libmesosphere/source/kern_k_interrupt_task_manager.cpp index 189b4535..d553feb8 100644 --- a/libmesosphere/source/kern_k_interrupt_task_manager.cpp +++ b/libmesosphere/source/kern_k_interrupt_task_manager.cpp @@ -54,6 +54,8 @@ namespace ams::kern { #if defined (MESOSPHERE_BUILD_FOR_AUDITING) old_head->SetNextTask(nullptr); + #else + AMS_UNUSED(old_head); #endif }