annotate no return

Clang: function could be declared with attribute 'noreturn' [-Wmissing-noreturn]
This commit is contained in:
Max Seidenstücker
2026-02-06 19:24:51 +01:00
committed by Özkan Sezer
parent 144ab4ba99
commit 8b53b77058
3 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ cleanup(void)
unlink(FBASENAME2);
}
static void
static SDL_NORETURN void
iostrm_error_quit(unsigned line, SDL_IOStream *iostrm)
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "testfile.c(%d): failed", line);