mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:37:43 +00:00
LibTest: Decorate cleanup_and_exit() with [[noreturn]]
This commit is contained in:
parent
f08a46bd9e
commit
405b8e7915
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ inline void cleanup()
|
||||||
warn("\033]9;-1;\033\\");
|
warn("\033]9;-1;\033\\");
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void cleanup_and_exit()
|
[[noreturn]] inline void cleanup_and_exit()
|
||||||
{
|
{
|
||||||
cleanup();
|
cleanup();
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue