From 74df4f1956507f89087fc3ef9f3c2ffb9619bddf Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 10 Feb 2012 15:19:34 -0600 Subject: [PATCH] [libpng16] Removed some unused arrays from png_read_push_finish_row(). --- pngpread.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pngpread.c b/pngpread.c index 3705e411f..026acbe94 100644 --- a/pngpread.c +++ b/pngpread.c @@ -1201,6 +1201,7 @@ png_push_process_row(png_structrp png_ptr) void /* PRIVATE */ png_read_push_finish_row(png_structrp png_ptr) { +#ifdef PNG_READ_INTERLACING_SUPPORTED /* Arrays to facilitate easy interlacing - use pass (0 - 6) as index */ /* Start of interlace block */ @@ -1219,6 +1220,7 @@ png_read_push_finish_row(png_structrp png_ptr) * it, uncomment it here and in png.h static PNG_CONST png_byte png_pass_height[] = {8, 8, 4, 4, 2, 2, 1}; */ +#endif png_ptr->row_number++; if (png_ptr->row_number < png_ptr->num_rows) -- GitLab