Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84d517f3 authored by Lasse Collin's avatar Lasse Collin Committed by Linus Torvalds
Browse files

lib/xz: add comments for the intentionally missing break statements

parent 0046dd9f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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