1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

LibTest: Decorate cleanup_and_exit() with [[noreturn]]

This commit is contained in:
Andreas Kling 2021-09-14 20:31:17 +02:00
parent f08a46bd9e
commit 405b8e7915

View file

@ -73,7 +73,7 @@ inline void cleanup()
warn("\033]9;-1;\033\\");
}
inline void cleanup_and_exit()
[[noreturn]] inline void cleanup_and_exit()
{
cleanup();
exit(1);