From 0706c14e7cc5f1d996bb1c3c526f877c4f8fc215 Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Fri, 27 Feb 2015 12:47:46 -0500 Subject: Fix unused, and unused-but-set variables warnings Signed-off-by: Jan Vesely Reviewed-by: Emil Velikov --- tests/exynos/exynos_fimg2d_test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index 14b38a9e..8e20e27b 100644 --- a/tests/exynos/exynos_fimg2d_test.c +++ b/tests/exynos/exynos_fimg2d_test.c @@ -360,7 +360,7 @@ static int g2d_copy_with_scale_test(struct exynos_device *dev, { struct g2d_context *ctx; struct g2d_image src_img, dst_img; - unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; + unsigned int src_x, src_y, img_w, img_h; unsigned long userptr, size; int ret; @@ -374,8 +374,6 @@ static int g2d_copy_with_scale_test(struct exynos_device *dev, src_x = 0; src_y = 0; - dst_x = 0; - dst_y = 0; img_w = screen_width; img_h = screen_height; -- cgit v1.2.3