mirror of
https://git.tukaani.org/xz.git
synced 2025-02-22 08:28:25 +00:00
liblzma: Silence warnings from "clang -Wimplicit-fallthrough"
This commit is contained in:
parent
1a8a1ad9a1
commit
672da29bb3
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user