mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
LibTest: Decorate cleanup_and_exit() with [[noreturn]]
This commit is contained in:
parent
f08a46bd9e
commit
405b8e7915
Notes:
sideshowbarker
2024-07-18 03:58:05 +09:00
Author: https://github.com/awesomekling
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