mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
annotate no return
Clang: function could be declared with attribute 'noreturn' [-Wmissing-noreturn]
This commit is contained in:
parent
144ab4ba99
commit
8b53b77058
3 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue