[libpng17] Simplified error message code in pngunknown. The simplification has

the useful side effect of avoiding a bogus warning generated by the latest
version of the Intel C compiler (it objects to
condition ? string-literal : string-literal).
This commit is contained in:
John Bowler
2013-10-06 08:51:42 -05:00
committed by Glenn Randers-Pehrson
parent 32aeb2cd4e
commit 091fab713c
3 changed files with 10 additions and 8 deletions

View File

@@ -4680,6 +4680,10 @@ Version 1.7.0beta20 [October 6, 2013]
Cleaned up (char*) casts of zlib messages. The latest version of the Intel C
compiler complains about casting a string literal as (char*), so copied the
treatment of z_const from the library code into pngfix.c
Simplified error message code in pngunknown. The simplification has the
useful side effect of avoiding a bogus warning generated by the latest
version of the Intel C compiler (it objects to
condition ? string-literal : string-literal).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit