Add default: break; to switches on SDL_Event::type

This is just a nice-to-have, as `SDL_Event::type` in an `Uint32`, so there are no
compiler errors about not handling all `SDL_EventType` enum values.
This commit is contained in:
Susko3 authored and Sam Lantinga committed 2024-03-06 15:40:05 -08:00
1 parent 722f4104bf
commit 01248a99c8
8 files changed
+16

No files matched your search

+2
View File
@@ -282,6 +282,8 @@ static void loop(void)
if (event.key.keysym.sym != SDLK_ESCAPE) {
break;
}
default:
break;
}
}