| .. | .. |
|---|
| 442 | 442 | case set_repeat: |
|---|
| 443 | 443 | if (dctx->litEntropy == 0) |
|---|
| 444 | 444 | return ERROR(dictionary_corrupted); |
|---|
| 445 | | - /* fall-through */ |
|---|
| 445 | + /* fall through */ |
|---|
| 446 | 446 | case set_compressed: |
|---|
| 447 | 447 | if (srcSize < 5) |
|---|
| 448 | 448 | return ERROR(corruption_detected); /* srcSize >= MIN_CBLOCK_SIZE == 3; here we need up to 5 for case 3 */ |
|---|
| .. | .. |
|---|
| 1768 | 1768 | return 0; |
|---|
| 1769 | 1769 | } |
|---|
| 1770 | 1770 | dctx->expected = 0; /* not necessary to copy more */ |
|---|
| 1771 | + /* fall through */ |
|---|
| 1771 | 1772 | |
|---|
| 1772 | 1773 | case ZSTDds_decodeFrameHeader: |
|---|
| 1773 | 1774 | memcpy(dctx->headerBuffer + ZSTD_frameHeaderSize_prefix, src, dctx->expected); |
|---|
| .. | .. |
|---|
| 2308 | 2309 | switch (zds->stage) { |
|---|
| 2309 | 2310 | case zdss_init: |
|---|
| 2310 | 2311 | ZSTD_resetDStream(zds); /* transparent reset on starting decoding a new frame */ |
|---|
| 2311 | | - /* fall-through */ |
|---|
| 2312 | + /* fall through */ |
|---|
| 2312 | 2313 | |
|---|
| 2313 | 2314 | case zdss_loadHeader: { |
|---|
| 2314 | 2315 | size_t const hSize = ZSTD_getFrameParams(&zds->fParams, zds->headerBuffer, zds->lhSize); |
|---|
| .. | .. |
|---|
| 2375 | 2376 | } |
|---|
| 2376 | 2377 | zds->stage = zdss_read; |
|---|
| 2377 | 2378 | } |
|---|
| 2378 | | - /* pass-through */ |
|---|
| 2379 | + /* fall through */ |
|---|
| 2379 | 2380 | |
|---|
| 2380 | 2381 | case zdss_read: { |
|---|
| 2381 | 2382 | size_t const neededInSize = ZSTD_nextSrcSizeToDecompress(zds->dctx); |
|---|
| .. | .. |
|---|
| 2404 | 2405 | zds->stage = zdss_load; |
|---|
| 2405 | 2406 | /* pass-through */ |
|---|
| 2406 | 2407 | } |
|---|
| 2408 | + /* fall through */ |
|---|
| 2407 | 2409 | |
|---|
| 2408 | 2410 | case zdss_load: { |
|---|
| 2409 | 2411 | size_t const neededInSize = ZSTD_nextSrcSizeToDecompress(zds->dctx); |
|---|
| .. | .. |
|---|
| 2436 | 2438 | /* pass-through */ |
|---|
| 2437 | 2439 | } |
|---|
| 2438 | 2440 | } |
|---|
| 2441 | + /* fall through */ |
|---|
| 2439 | 2442 | |
|---|
| 2440 | 2443 | case zdss_flush: { |
|---|
| 2441 | 2444 | size_t const toFlushSize = zds->outEnd - zds->outStart; |
|---|