aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/images
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-12-09 12:12:56 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-09 12:12:56 -0800
commit7596683275723c6c4f4c1af7772127621d349e5c (patch)
treef05d1a7004449d76aa979d47098f4f4b10ec8f17 /src/images
parent3127c99986dc932343aae5ccc575237d99c3aaec (diff)
Silence libpng warnings in SkImageDecoder
Diffstat (limited to 'src/images')
-rw-r--r--src/images/SkImageDecoder_libpng.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/images/SkImageDecoder_libpng.cpp b/src/images/SkImageDecoder_libpng.cpp
index fd09ce95b0..2dead58729 100644
--- a/src/images/SkImageDecoder_libpng.cpp
+++ b/src/images/SkImageDecoder_libpng.cpp
@@ -37,11 +37,7 @@
#define png_flush_ptr_NULL nullptr
#endif
-#if defined(SK_DEBUG)
-#define DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS false
-#else // !defined(SK_DEBUG)
#define DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS true
-#endif // defined(SK_DEBUG)
SK_CONF_DECLARE(bool, c_suppressPNGImageDecoderWarnings,
"images.png.suppressDecoderWarnings",
DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS,