Gerald Pfeifer : gdi32: Remove variable x which is not really used from testJustification.
Alexandre Julliard
julliard at winehq.org
Mon May 3 11:54:10 CDT 2010
Module: wine
Branch: master
Commit: 08b88c42ee42d5ab081755272241e92d2bc29ca2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=08b88c42ee42d5ab081755272241e92d2bc29ca2
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sun May 2 20:53:58 2010 +0200
gdi32: Remove variable x which is not really used from testJustification.
---
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))
{
More information about the wine-cvs
mailing list