summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-06-20 22:14:50 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-06-20 22:14:50 -0400
commit462bae31d9b378b9efcd018d8f3bd84f0c36775b (patch)
treef71796a91d799b72f5d7f66248a9f284b7c47412
parent0fbc8362b6af28c1c749658b879abe70c3908989 (diff)
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;