From b1f38be3aeebfdd0c31d5cbe0485bc69123a4871 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/libraries/libmesosphere/source/kern_k_interrupt_task_manager.cpp b/libraries/libmesosphere/source/kern_k_interrupt_task_manager.cpp index 189b45357..d553feb8f 100644 --- a/libraries/libmesosphere/source/kern_k_interrupt_task_manager.cpp +++ b/libraries/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 }