summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce W. Harrington <b.harrington@samsung.com>2013-07-03 22:37:00 (GMT)
committerChris Wilson <chris@chris-wilson.co.uk>2013-07-04 08:27:56 (GMT)
commit5577223489dc3f6e282c498d70f66f8ee9327474 (patch)
tree6761a35cc4717b2d0d5280db55bab642f994a95b
parent319b8935826c8726b8c23f1c746a82b261b8cde1 (diff)
downloadcairo-5577223489dc3f6e282c498d70f66f8ee9327474.tar.gz
cairo-5577223489dc3f6e282c498d70f66f8ee9327474.tar.xz
pdiff: Drop unused variable
Fixes: perceptualdiff.c:35:24: warning: unused variable ‘dim’ [-Wunused-variable] Signed-off-by: Bryce Harrington <bryce@bryceharrington.org> Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
-rw-r--r--test/pdiff/perceptualdiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pdiff/perceptualdiff.c b/test/pdiff/perceptualdiff.c
index de98534..5850dc9 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);