gdi32: Remove variable x which is not really used from testJustification.

Gerald Pfeifer gerald at pfeifer.com
Sun May 2 13:53:58 CDT 2010


---
 dlls/gdi32/tests/font.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c
index 87ca494..7982a73 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))
         {
-- 
1.6.6.2



More information about the wine-patches mailing list