]> git.pld-linux.org Git - packages/libnsgif.git/blame - fall_through.patch
- updated to 0.2.0
[packages/libnsgif.git] / fall_through.patch
CommitLineData
8083efb0
WF
1--- libnsgif-0.2.0/src/lzw.c.orig 2017-10-13 10:55:06.000000000 +0200
2+++ libnsgif-0.2.0/src/lzw.c 2017-10-30 11:35:43.430506835 +0100
3@@ -168,7 +168,9 @@ static inline lzw_result lzw__next_code(
4 const uint8_t *data = ctx->sb_data + (ctx->sb_bit >> 3);
5 switch (byte_advance) {
6 case 2: code |= data[2] << 16;
7+ /* Fall through */
8 case 1: code |= data[1] << 8;
9+ /* Fall through */
10 case 0: code |= data[0] << 0;
11 }
12 ctx->sb_bit += code_size;
This page took 0.078786 seconds and 4 git commands to generate.