Skip to content

Commit

Permalink
Merge pull request #528 from Rangi42/master
Browse files Browse the repository at this point in the history
Silence -Wimplicit-fallthrough
  • Loading branch information
yenatch authored Jun 22, 2018
2 parents 0fbc836 + 462bae3 commit 131875d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/lzcomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 131875d

Please sign in to comment.