summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-06-21 23:28:10 -0400
committerGitHub <noreply@github.com>2018-06-21 23:28:10 -0400
commit131875d3e37044ec995287af7c93decd86a0d659 (patch)
treef71796a91d799b72f5d7f66248a9f284b7c47412
parent0fbc8362b6af28c1c749658b879abe70c3908989 (diff)
parent462bae31d9b378b9efcd018d8f3bd84f0c36775b (diff)
Merge pull request #528 from Rangi42/master
Silence -Wimplicit-fallthrough
-rw-r--r--tools/lzcomp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lzcomp.c b/tools/lzcomp.c
index e0a88e44a..7d3e0b8fc 100644
--- a/tools/lzcomp.c
+++ b/tools/lzcomp.c
@@ -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;