From aad6fadd7f341cc11006f18d541c8265cabd8c36 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Wed, 21 Feb 2024 01:05:23 +0000 Subject: [PATCH] Fix noreturn tag in window crash log --- src/os/windows/crashlog_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/windows/crashlog_win.cpp b/src/os/windows/crashlog_win.cpp index 9029204486..e50c586420 100644 --- a/src/os/windows/crashlog_win.cpp +++ b/src/os/windows/crashlog_win.cpp @@ -56,7 +56,7 @@ #pragma GCC diagnostic ignored "-Wclobbered" #endif -static [[noreturn]] void ImmediateExitProcess(uint exit_code) +[[noreturn]] static void ImmediateExitProcess(uint exit_code) { /* TerminateProcess may fail in some special edge cases, fall back to ExitProcess in this case */ TerminateProcess(GetCurrentProcess(), exit_code);