mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
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;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
if (commands -> value != next -> value) break;
|
if (commands -> value != next -> value) break;
|
||||||
|
// falls through
|
||||||
case 3:
|
case 3:
|
||||||
if ((commands -> count + next -> count) <= 1024) {
|
if ((commands -> count + next -> count) <= 1024) {
|
||||||
commands -> count += next -> count;
|
commands -> count += next -> count;
|
||||||
|
Loading…
Reference in New Issue
Block a user