Fix noreturn tag in window crash log
This commit is contained in:
@@ -56,7 +56,7 @@
|
|||||||
#pragma GCC diagnostic ignored "-Wclobbered"
|
#pragma GCC diagnostic ignored "-Wclobbered"
|
||||||
#endif
|
#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 may fail in some special edge cases, fall back to ExitProcess in this case */
|
||||||
TerminateProcess(GetCurrentProcess(), exit_code);
|
TerminateProcess(GetCurrentProcess(), exit_code);
|
||||||
|
Reference in New Issue
Block a user