* [PATCH] xz: Add comments for the intentionally missing break statements
@ 2014-04-09 17:07 Lasse Collin
0 siblings, 0 replies; only message in thread
From: Lasse Collin @ 2014-04-09 17:07 UTC (permalink / raw)
To: Linus Torvalds; +Cc: dpc, linux-kernel
From: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
---
lib/xz/xz_dec_lzma2.c | 4 ++++
1 file changed, 4 insertions(+)
diff -Narup linux-3.14.orig/lib/xz/xz_dec_lzma2.c linux-3.14/lib/xz/xz_dec_lzma2.c
--- linux-3.14.orig/lib/xz/xz_dec_lzma2.c 2014-03-31 06:40:15.000000000 +0300
+++ linux-3.14/lib/xz/xz_dec_lzma2.c 2014-04-09 18:20:01.229614074 +0300
@@ -1043,6 +1043,8 @@ XZ_EXTERN enum xz_ret xz_dec_lzma2_run(s
s->lzma2.sequence = SEQ_LZMA_PREPARE;
+ /* Fall through */
+
case SEQ_LZMA_PREPARE:
if (s->lzma2.compressed < RC_INIT_BYTES)
return XZ_DATA_ERROR;
@@ -1053,6 +1055,8 @@ XZ_EXTERN enum xz_ret xz_dec_lzma2_run(s
s->lzma2.compressed -= RC_INIT_BYTES;
s->lzma2.sequence = SEQ_LZMA_RUN;
+ /* Fall through */
+
case SEQ_LZMA_RUN:
/*
* Set dictionary limit to indicate how much we want
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-09 17:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-09 17:07 [PATCH] xz: Add comments for the intentionally missing break statements Lasse Collin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome