[libpng16] Removed "text_len" parameter from private function png_write_zTXt()

since it is unused.
This commit is contained in:
Glenn Randers-Pehrson
2014-10-03 17:00:38 -05:00
parent f1eacc08e6
commit d752225d05
6 changed files with 11 additions and 12 deletions

View File

@@ -1621,14 +1621,13 @@ png_write_tEXt(png_structrp png_ptr, png_const_charp key, png_const_charp text,
/* Write a compressed text chunk */
void /* PRIVATE */
png_write_zTXt(png_structrp png_ptr, png_const_charp key, png_const_charp text,
png_size_t text_len, int compression)
int compression)
{
png_uint_32 key_len;
png_byte new_key[81];
compression_state comp;
png_debug(1, "in png_write_zTXt");
PNG_UNUSED(text_len) /* Always use strlen */
if (compression == PNG_TEXT_COMPRESSION_NONE)
{