diff --git a/test/pdiff/perceptualdiff.c b/test/pdiff/perceptualdiff.c index de98534b5..5850dc916 100644 --- a/test/pdiff/perceptualdiff.c +++ b/test/pdiff/perceptualdiff.c @@ -32,7 +32,7 @@ static bool Yee_Compare(args_t *args) unsigned int width_b, height_b, stride_b; unsigned char *data_b, *row_b; uint32_t *pixel_b; - unsigned int x, y, dim, pixels_failed; + unsigned int x, y, pixels_failed; bool identical = true; width_a = cairo_image_surface_get_width (args->surface_a);