Explicit void casts is kind of unnecessary for a function that generally never fails.

This commit is contained in:
Lior Halphon
2024-06-19 20:02:24 +03:00
committed by GitHub
parent 7f110c4415
commit 496baafbf9

View File

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