mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[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:
4
ANNOUNCE
4
ANNOUNCE
@@ -521,7 +521,9 @@ Version 1.7.0beta31 [February 5, 2014]
|
|||||||
application errors or crashes. Such chunks are now skipped (with
|
application errors or crashes. Such chunks are now skipped (with
|
||||||
chunk_benign_error).
|
chunk_benign_error).
|
||||||
Restored a line, "c = b;", that was inadvertently deleted from the
|
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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
4
CHANGES
4
CHANGES
@@ -4810,7 +4810,9 @@ Version 1.7.0beta31 [February 5, 2014]
|
|||||||
application errors or crashes. Such chunks are now skipped (with
|
application errors or crashes. Such chunks are now skipped (with
|
||||||
chunk_benign_error).
|
chunk_benign_error).
|
||||||
Restored a line, "c = b;", that was inadvertently deleted from the
|
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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
@@ -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 (pb < pa) pa = pb, a = b;
|
||||||
if (pc < pa) a = c;
|
if (pc < pa) a = c;
|
||||||
|
|
||||||
c = b;
|
|
||||||
a += *row;
|
a += *row;
|
||||||
*row++ = (png_byte)a;
|
*row++ = (png_byte)a;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user