From 94e3f986aa4e14b4ff01ac24857f499630d6d180 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 14 Aug 2017 20:08:33 +0300 Subject: Fix or hide warnings from GCC 7's -Wimplicit-fallthrough. --- src/xz/list.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/xz') diff --git a/src/xz/list.c b/src/xz/list.c index bf462957..ef93314c 100644 --- a/src/xz/list.c +++ b/src/xz/list.c @@ -318,6 +318,8 @@ parse_block_header(file_pair *pair, const lzma_index_iter *iter, // If the above fails, the file is corrupt so // LZMA_DATA_ERROR is a good error code. + // Fall through + case LZMA_DATA_ERROR: // Free the memory allocated by lzma_block_header_decode(). for (size_t i = 0; filters[i].id != LZMA_VLI_UNKNOWN; ++i) -- cgit v1.2.3