liblzma: Silence warnings from "clang -Wimplicit-fallthrough"

This commit is contained in:
Lasse Collin 2025-01-01 18:46:50 +02:00
parent 1a8a1ad9a1
commit 672da29bb3
No known key found for this signature in database
GPG Key ID: 38EE757D69184620
1 changed files with 1 additions and 1 deletions

View File

@ -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