mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Fix an instance of -Wunused-but-set-variable.
Bug: chromium:1203071
This commit is contained in:
parent
f10c6bb603
commit
5f5f98a1a9
@ -3452,7 +3452,6 @@ png_image_read_background(png_voidp argument)
|
|||||||
|
|
||||||
for (pass = 0; pass < passes; ++pass)
|
for (pass = 0; pass < passes; ++pass)
|
||||||
{
|
{
|
||||||
png_bytep row = png_voidcast(png_bytep, display->first_row);
|
|
||||||
unsigned int startx, stepx, stepy;
|
unsigned int startx, stepx, stepy;
|
||||||
png_uint_32 y;
|
png_uint_32 y;
|
||||||
|
|
||||||
@ -3557,8 +3556,6 @@ png_image_read_background(png_voidp argument)
|
|||||||
|
|
||||||
inrow += 2; /* gray and alpha channel */
|
inrow += 2; /* gray and alpha channel */
|
||||||
}
|
}
|
||||||
|
|
||||||
row += display->row_bytes;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user