[libpng17] Deleted the other instance of "c = b;" which is the one that

triggered a scan-build warning in pngrutil.c.
This commit is contained in:
Glenn Randers-Pehrson 2014-02-05 16:54:37 -06:00
parent 2d032e966d
commit 3d7f3bbab7
3 changed files with 6 additions and 3 deletions

View File

@ -521,7 +521,9 @@ Version 1.7.0beta31 [February 5, 2014]
application errors or crashes. Such chunks are now skipped (with
chunk_benign_error).
Restored a line, "c = b;", that was inadvertently deleted from the
PAETH filtering code from libpng-1.7.0beta24/pngrutil.c.
PAETH filtering code from libpng-1.7.0beta24/pngrutil.c. Deleted
the other instance of "c = b;" which is the one that triggered a
scan-build warning.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -4810,7 +4810,9 @@ Version 1.7.0beta31 [February 5, 2014]
application errors or crashes. Such chunks are now skipped (with
chunk_benign_error).
Restored a line, "c = b;", that was inadvertently deleted from the
PAETH filtering code from libpng-1.7.0beta24/pngrutil.c.
PAETH filtering code from libpng-1.7.0beta24/pngrutil.c. Deleted
the other instance of "c = b;" which is the one that triggered a
scan-build warning.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -3856,7 +3856,6 @@ png_read_filter_row_paeth_multibyte_pixel(png_row_infop row_info, png_bytep row,
if (pb < pa) pa = pb, a = b;
if (pc < pa) a = c;
c = b;
a += *row;
*row++ = (png_byte)a;
}