commit | 5f2abd1e7c898863348215461bcf20d9a07fa9d5 | [log] [tgz] |
---|---|---|
author | Tamir Duberstein <tamird@google.com> | Sun May 09 12:58:48 2021 -0400 |
committer | Tamir Duberstein <tamird@google.com> | Sun May 09 19:21:01 2021 +0000 |
tree | 13a91213d2a4b02e56a16602ec35186c7978f257 | |
parent | 3d7973f8f17fdec6be949ea5a25322cfb0350e91 [diff] |
[config] Suppress implicit fallthrough Change-Id: I6e422e3c5c4c2af55b6e5e42395b1ae757d64428 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/libpng/+/527271 Reviewed-by: Shai Barack <shayba@google.com>
diff --git a/BUILD.gn b/BUILD.gn index ccb816c..8a3dee0 100644 --- a/BUILD.gn +++ b/BUILD.gn
@@ -15,6 +15,8 @@ if (is_clang) { cflags = [ "-Wno-conversion", + "-Wno-implicit-fallthrough", + # libpng checks that the width is not greater than PNG_SIZE_MAX. # On platforms where size_t is 64-bits, this comparison will always # be false.