Index: src/codec/SkJpegCodec.cpp |
diff --git a/src/codec/SkJpegCodec.cpp b/src/codec/SkJpegCodec.cpp |
index f4116e324f82ca4e584e9080362735469abde463..a81c759ff0101f936956a79f8b40ffb6da8b5108 100644 |
--- a/src/codec/SkJpegCodec.cpp |
+++ b/src/codec/SkJpegCodec.cpp |
@@ -19,6 +19,11 @@ |
#include <stdio.h> |
#include "SkJpegUtility.h" |
+// This warning triggers false postives way too often in here. |
+#if defined(__GNUC__) && !defined(__clang__) |
+ #pragma GCC diagnostic ignored "-Wclobbered" |
+#endif |
+ |
extern "C" { |
#include "jerror.h" |
#include "jpeglib.h" |