mirror of https://github.com/pret/pokecrystal.git
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