cmake: add -Wimplicit-fallthrough warning

This commit is contained in:
Anonymous Maarten
2024-03-18 17:56:22 +01:00
committed by Anonymous Maarten
parent 086a7a4687
commit f59dbf6a12
10 changed files with 22 additions and 6 deletions

View File

@@ -508,6 +508,7 @@ static void loop(void)
switch (event.key.keysym.sym) {
case SDLK_ESCAPE:
done = 1;
break;
case SDLK_SPACE:
case SDLK_RIGHT:
NextStage();