From f9d6193eb9fb0512767ada7372222a660af97838 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sun, 24 May 2026 00:52:58 +0000 Subject: [PATCH] Maybe unused --- src/common/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/thread.cpp b/src/common/thread.cpp index d3ed13b311..51d22d2a7f 100644 --- a/src/common/thread.cpp +++ b/src/common/thread.cpp @@ -175,7 +175,7 @@ bool Event::WaitFor(const std::chrono::nanoseconds time) { auto const start = Common::X64::FencedRDTSC(); auto const& caps = Common::g_cpu_caps; auto const ns_ratio = std::max(1, caps.tsc_frequency / 1'000); - auto const end = start + time.count() * ns_ratio; + [[maybe_unused]] auto const end = start + time.count() * ns_ratio; if (caps.monitorx) { while (true) { // Armed monitor, as per manual, MWAITX must be conditional if the condition isn't satisfied