gdi32: Remove variable x which is not really used from testJustification.
This commit is contained in:
parent
194fd8744a
commit
08b88c42ee
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue