Warnings: Ensure death functions are all marked noreturn
This commit is contained in:
@@ -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);
|
sig_log.fatal("Thread terminated due to fatal error: %s", reason);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user