Warnings: Ensure death functions are all marked noreturn

This commit is contained in:
JohnHolmesII 2020-12-28 17:05:35 -08:00 committed by Ivan
parent 18c120ab9f
commit 76b1acf99d

View File

@ -2389,7 +2389,7 @@ u64 thread_base::get_cycles()
}
}
void thread_ctrl::emergency_exit(std::string_view reason)
[[noreturn]] void thread_ctrl::emergency_exit(std::string_view reason)
{
sig_log.fatal("Thread terminated due to fatal error: %s", reason);