Index: src/codec/SkPngCodec.cpp |
diff --git a/src/codec/SkPngCodec.cpp b/src/codec/SkPngCodec.cpp |
index ee72af58ad46c517e3ec63da18746d4fe69257ef..b8916f9de7f254536850095cd0b67f8cafbbcd6d 100644 |
--- a/src/codec/SkPngCodec.cpp |
+++ b/src/codec/SkPngCodec.cpp |
@@ -20,6 +20,11 @@ |
#include "SkTemplates.h" |
#include "SkUtils.h" |
+// This warning triggers false postives way too often in here. |
+#if defined(__GNUC__) && !defined(__clang__) |
+ #pragma GCC diagnostic ignored "-Wclobbered" |
+#endif |
+ |
/////////////////////////////////////////////////////////////////////////////// |
// Callback functions |
/////////////////////////////////////////////////////////////////////////////// |