xz: Add comments for the intentionally missing break statements
Lasse Collin
maintainerPATCH 1/1 xz: Add comments for the intentionally missing break statements
From: Lasse Collin <[email protected]>
Signed-off-by Lasse Collin <[email protected]>
---
lib/xz/xz_dec_lzma2.c | 4 ++++ 1 file changed, 4 insertions(+)
lib/xz/xz_dec_lzma2.c +4 -0
@@ -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