Merge pull request #528 from Rangi42/master

Silence -Wimplicit-fallthrough
This commit is contained in:
yenatch 2018-06-21 23:28:10 -04:00 committed by GitHub
commit 131875d3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;