From 08b88c42ee42d5ab081755272241e92d2bc29ca2 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 2 May 2010 20:53:58 +0200 Subject: [PATCH] gdi32: Remove variable x which is not really used from testJustification. --- dlls/gdi32/tests/font.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 87ca494257d..7982a73dc86 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -1343,7 +1343,7 @@ static void test_GetOutlineTextMetrics(void) static void testJustification(HDC hdc, PSTR str, RECT *clientArea) { - INT x, y, + INT y, breakCount, justifiedWidth = 0, /* to test GetTextExtentExPointW() */ areaWidth = clientArea->right - clientArea->left, @@ -1399,8 +1399,6 @@ static void testJustification(HDC hdc, PSTR str, RECT *clientArea) } else lastExtent = TRUE; - x = clientArea->left; - /* catch errors and report them */ if (!lastExtent && (justifiedWidth != areaWidth)) {