Bug 615569 warning: statement with no effect for each png_warning/png_chunk_warning

r=glennrp

--HG--
extra : rebase_source : 074dd62520f0cc0525ef68175ec8981435ed557a
This commit is contained in:
timeless@mozdev.org 2010-12-04 11:06:30 +01:00
parent b408951f41
commit 79a99ff93e

View File

@ -512,8 +512,8 @@
#define png_read_frame_head MOZ_APNG_read_frame_head
#ifndef PR_LOGGING
#define MOZ_PNG_warning(s1,s2) ""
#define MOZ_PNG_chunk_warn(s1,s2) ""
#define MOZ_PNG_warning(s1,s2) (void)0
#define MOZ_PNG_chunk_warn(s1,s2) (void)0
#if PNG_LIBPNG_VER > 10221
#define PNG_NO_WARNINGS
#define PNG_NO_ERROR_TEXT