projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0046dd9
)
lib/xz: add comments for the intentionally missing break statements
author
Lasse Collin
<lasse.collin@tukaani.org>
Wed, 4 Jun 2014 23:11:48 +0000
(16:11 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:18 +0000
(16:54 -0700)
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/xz/xz_dec_lzma2.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/xz/xz_dec_lzma2.c
b/lib/xz/xz_dec_lzma2.c
index a6cdc969ea42a7b5df5e74e8cb4d712f6f7bbd3b..08c3c804999831a2d658ada4366662da2f6a6311 100644
(file)
--- a/
lib/xz/xz_dec_lzma2.c
+++ b/
lib/xz/xz_dec_lzma2.c
@@
-1043,6
+1043,8
@@
XZ_EXTERN enum xz_ret xz_dec_lzma2_run(struct xz_dec_lzma2 *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(struct xz_dec_lzma2 *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