summaryrefslogtreecommitdiff
path: root/tools/lz/packing.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lz/packing.c')
-rw-r--r--tools/lz/packing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lz/packing.c b/tools/lz/packing.c
index 3623be96..0cb9fae9 100644
--- a/tools/lz/packing.c
+++ b/tools/lz/packing.c
@@ -31,6 +31,7 @@ void optimize (struct command * commands, unsigned short count) {
break;
case 1:
if (commands -> value != next -> value) break;
+ // fallthrough
case 3:
if ((commands -> count + next -> count) <= MAX_COMMAND_COUNT) {
commands -> count += next -> count;