mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Fixed clang no-warning builds: png_digit was defined but never used.
This commit is contained in:
parent
fc932f7b03
commit
910aaadddb
7
ANNOUNCE
7
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.6.13beta01 - June 24, 2014
|
Libpng 1.6.13beta01 - June 25, 2014
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -26,7 +26,7 @@ Other information:
|
|||||||
|
|
||||||
Changes since the last public release (1.6.13):
|
Changes since the last public release (1.6.13):
|
||||||
|
|
||||||
Version 1.6.13beta01 [June 24, 2014]
|
Version 1.6.13beta01 [June 25, 2014]
|
||||||
Quieted -Wsign-compare and -Wclobber compiler warnings in
|
Quieted -Wsign-compare and -Wclobber compiler warnings in
|
||||||
contrib/pngminus/*.c
|
contrib/pngminus/*.c
|
||||||
Added "(void) png_ptr;" where needed in contrib/gregbook to quiet
|
Added "(void) png_ptr;" where needed in contrib/gregbook to quiet
|
||||||
@ -35,7 +35,8 @@ Version 1.6.13beta01 [June 24, 2014]
|
|||||||
Added "PNG_SET_OPTION" requirement for sRGB chunk support to pnglibconf.dfa,
|
Added "PNG_SET_OPTION" requirement for sRGB chunk support to pnglibconf.dfa,
|
||||||
Needed for write-only support (John Bowler).
|
Needed for write-only support (John Bowler).
|
||||||
Changed "if defined(__ARM_NEON__)" to
|
Changed "if defined(__ARM_NEON__)" to
|
||||||
"if defined(__ARM_NEON__) || defined(__ARM_NEON)" (James Wu).
|
"if (defined(__ARM_NEON__) || defined(__ARM_NEON))" (James Wu).
|
||||||
|
Fixed clang no-warning builds: png_digit was defined but never used.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
5
CHANGES
5
CHANGES
@ -4940,7 +4940,7 @@ Version 1.6.12rc03 [June 8, 2014]
|
|||||||
Version 1.6.12 [June 12, 2014]
|
Version 1.6.12 [June 12, 2014]
|
||||||
No changes.
|
No changes.
|
||||||
|
|
||||||
Version 1.6.13beta01 [June 24, 2014]
|
Version 1.6.13beta01 [June 25, 2014]
|
||||||
Quieted -Wsign-compare and -Wclobber compiler warnings in
|
Quieted -Wsign-compare and -Wclobber compiler warnings in
|
||||||
contrib/pngminus/*.c
|
contrib/pngminus/*.c
|
||||||
Added "(void) png_ptr;" where needed in contrib/gregbook to quiet
|
Added "(void) png_ptr;" where needed in contrib/gregbook to quiet
|
||||||
@ -4949,7 +4949,8 @@ Version 1.6.13beta01 [June 24, 2014]
|
|||||||
Added "PNG_SET_OPTION" requirement for sRGB chunk support to pnglibconf.dfa,
|
Added "PNG_SET_OPTION" requirement for sRGB chunk support to pnglibconf.dfa,
|
||||||
Needed for write-only support (John Bowler).
|
Needed for write-only support (John Bowler).
|
||||||
Changed "if defined(__ARM_NEON__)" to
|
Changed "if defined(__ARM_NEON__)" to
|
||||||
"if defined(__ARM_NEON__) || defined(__ARM_NEON)" (James Wu).
|
"if (defined(__ARM_NEON__) || defined(__ARM_NEON))" (James Wu).
|
||||||
|
Fixed clang no-warning builds: png_digit was defined but never used.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
@ -415,6 +415,9 @@ png_app_error(png_const_structrp png_ptr, png_const_charp error_message)
|
|||||||
}
|
}
|
||||||
#endif /* BENIGN_ERRORS */
|
#endif /* BENIGN_ERRORS */
|
||||||
|
|
||||||
|
#define PNG_MAX_ERROR_TEXT 196 /* Currently limited be profile_error in png.c */
|
||||||
|
#if defined(PNG_WARNINGS_SUPPORTED) || \
|
||||||
|
(defined(PNG_READ_SUPPORTED) && defined(PNG_ERROR_TEXT_SUPPORTED))
|
||||||
/* These utilities are used internally to build an error message that relates
|
/* These utilities are used internally to build an error message that relates
|
||||||
* to the current chunk. The chunk name comes from png_ptr->chunk_name,
|
* to the current chunk. The chunk name comes from png_ptr->chunk_name,
|
||||||
* this is used to prefix the message. The message is limited in length
|
* this is used to prefix the message. The message is limited in length
|
||||||
@ -427,9 +430,6 @@ static PNG_CONST char png_digit[16] = {
|
|||||||
'A', 'B', 'C', 'D', 'E', 'F'
|
'A', 'B', 'C', 'D', 'E', 'F'
|
||||||
};
|
};
|
||||||
|
|
||||||
#define PNG_MAX_ERROR_TEXT 196 /* Currently limited be profile_error in png.c */
|
|
||||||
#if defined(PNG_WARNINGS_SUPPORTED) || \
|
|
||||||
(defined(PNG_READ_SUPPORTED) && defined(PNG_ERROR_TEXT_SUPPORTED))
|
|
||||||
static void /* PRIVATE */
|
static void /* PRIVATE */
|
||||||
png_format_buffer(png_const_structrp png_ptr, png_charp buffer, png_const_charp
|
png_format_buffer(png_const_structrp png_ptr, png_charp buffer, png_const_charp
|
||||||
error_message)
|
error_message)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user