summaryrefslogtreecommitdiff
path: root/tools/lzcomp.c
diff options
context:
space:
mode:
authorThomas Winwood <twwinwood@gmail.com>2018-07-21 02:06:31 +0100
committerGitHub <noreply@github.com>2018-07-21 02:06:31 +0100
commit23ef2f50a7b94c23b50e9e690a7482ac349c9ef3 (patch)
tree63c20c67efbdf8334c6e273f78065b83135e3886 /tools/lzcomp.c
parent17a4d0540acc00e3f5ad260009115eb36e72b7d2 (diff)
parent2d73d040d16a7836f935a7a6cb2a311aed2ca5a2 (diff)
Merge branch 'master' into the-diffening
Diffstat (limited to 'tools/lzcomp.c')
-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;