mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-21 06:45:44 +00:00
annotate no return
Clang: function could be declared with attribute 'noreturn' [-Wmissing-noreturn]
This commit is contained in:
committed by
Özkan Sezer
parent
144ab4ba99
commit
8b53b77058
@@ -386,7 +386,7 @@ static void shutdownGPU(void)
|
||||
|
||||
|
||||
/* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
|
||||
static void
|
||||
static SDL_NORETURN void
|
||||
quit(int rc)
|
||||
{
|
||||
shutdownGPU();
|
||||
|
||||
Reference in New Issue
Block a user