diff --git a/libretro-common/formats/png/rpng.c b/libretro-common/formats/png/rpng.c index 1f3c8da7c9..96a476cd28 100644 --- a/libretro-common/formats/png/rpng.c +++ b/libretro-common/formats/png/rpng.c @@ -453,7 +453,7 @@ static void png_reverse_filter_adam7_deinterlace_pass(uint32_t *data, const uint32_t *input, unsigned pass_width, unsigned pass_height, const struct adam7_pass *pass) { - unsigned x, y; + unsigned y; data += pass->y * ihdr->width + pass->x;