From 672da29bb3a209a727ae46c0df948d7eea69f2e2 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 1 Jan 2025 18:46:50 +0200 Subject: [PATCH] liblzma: Silence warnings from "clang -Wimplicit-fallthrough" --- src/liblzma/lzma/lzma_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liblzma/lzma/lzma_decoder.c b/src/liblzma/lzma/lzma_decoder.c index 0abed02b..2088a2fa 100644 --- a/src/liblzma/lzma/lzma_decoder.c +++ b/src/liblzma/lzma/lzma_decoder.c @@ -18,7 +18,7 @@ // The macros unroll loops with switch statements. // Silence warnings about missing fall-through comments. -#if TUKLIB_GNUC_REQ(7, 0) +#if TUKLIB_GNUC_REQ(7, 0) || defined(__clang__) # pragma GCC diagnostic ignored "-Wimplicit-fallthrough" #endif