Skip to content

Commit

Permalink
Silence -Wimplicit-fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Jun 21, 2018
1 parent 0fbc836 commit 462bae3
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 462bae3

Please sign in to comment.