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

This commit is contained in:
Andreas Kling 2021-09-14 20:31:17 +02:00
commit 405b8e7915
Notes: sideshowbarker 2024-07-18 03:58:05 +09:00

View file

@ -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);