mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Silence -Wimplicit-fallthrough
This commit is contained in:
parent
0fbc8362b6
commit
462bae31d9
@ -310,6 +310,7 @@ void optimize (struct command * commands, unsigned short count) {
|
||||
break;
|
||||
case 1:
|
||||
if (commands -> value != next -> value) break;
|
||||
// falls through
|
||||
case 3:
|
||||
if ((commands -> count + next -> count) <= 1024) {
|
||||
commands -> count += next -> count;
|
||||
|
Loading…
Reference in New Issue
Block a user