From ec356b8a6e94cff6ea4b014043b002c6f213a991 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Thu, 9 Jul 2026 08:38:07 +0200 Subject: [PATCH] Suppress unused variable warning --- xtoskrnl/hl/x86/pic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtoskrnl/hl/x86/pic.cc b/xtoskrnl/hl/x86/pic.cc index b5de283..61ae043 100644 --- a/xtoskrnl/hl/x86/pic.cc +++ b/xtoskrnl/hl/x86/pic.cc @@ -311,7 +311,7 @@ XTCDECL VOID HL::Pic::HandleApicErrorInterrupt(IN PKTRAP_FRAME TrapFrame) { - ULONG ErrorStatus; + UNUSED ULONG ErrorStatus; /* Write 0 to the ESR register to trigger an internal state update, then read the latched status */ WriteApicRegister(APIC_ESR, 0);