[cairo] [PATCH 6/7] pdiff: Drop unused variable

Bryce W. Harrington b.harrington at samsung.com
Tue Jul 2 15:22:16 PDT 2013


Fixes:
perceptualdiff.c:35:24: warning: unused variable ‘dim’
[-Wunused-variable]

Signed-off-by: Bryce Harrington <bryce at bryceharrington.org>
Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
---
 test/pdiff/perceptualdiff.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
1.7.9.5

--
Bryce Harrington
Senior Open Source Developer  -  b.harrington at samsung.com
Open Source Group             -  Samsung Research America



More information about the cairo mailing list