mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-16 11:03:55 +01:00
Warnings: Ensure death functions are all marked noreturn
This commit is contained in:
1 parent
18c120ab9f
commit
76b1acf99d
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user