mirror of https://github.com/pret/pokecrystal.git
Merge pull request #528 from Rangi42/master
Silence -Wimplicit-fallthrough
This commit is contained in:
commit
131875d3e3
|
@ -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