From 496baafbf9e1af4a645e0545da366e26c360f3a3 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Wed, 19 Jun 2024 20:02:24 +0300 Subject: [PATCH] Explicit void casts is kind of unnecessary for a function that generally never fails. --- SDL/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL/main.c b/SDL/main.c index 0f24520..9755682 100644 --- a/SDL/main.c +++ b/SDL/main.c @@ -1054,7 +1054,7 @@ int main(int argc, char **argv) SDL_Init(SDL_INIT_EVERYTHING & ~SDL_INIT_AUDIO); // This is, essentially, best-effort. // This function will not be called if the process is terminated in any way, anyhow. - (void)atexit(SDL_Quit); + atexit(SDL_Quit); if ((console_supported = CON_start(completer))) { CON_set_repeat_empty(true);