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

This commit is contained in:
Gerald Pfeifer 2010-05-02 20:53:58 +02:00 committed by Alexandre Julliard
parent 194fd8744a
commit 08b88c42ee

View file

@ -1343,7 +1343,7 @@ static void test_GetOutlineTextMetrics(void)
static void testJustification(HDC hdc, PSTR str, RECT *clientArea) static void testJustification(HDC hdc, PSTR str, RECT *clientArea)
{ {
INT x, y, INT y,
breakCount, breakCount,
justifiedWidth = 0, /* to test GetTextExtentExPointW() */ justifiedWidth = 0, /* to test GetTextExtentExPointW() */
areaWidth = clientArea->right - clientArea->left, areaWidth = clientArea->right - clientArea->left,
@ -1399,8 +1399,6 @@ static void testJustification(HDC hdc, PSTR str, RECT *clientArea)
} }
else lastExtent = TRUE; else lastExtent = TRUE;
x = clientArea->left;
/* catch errors and report them */ /* catch errors and report them */
if (!lastExtent && (justifiedWidth != areaWidth)) if (!lastExtent && (justifiedWidth != areaWidth))
{ {