mirror of
https://github.com/reactos/reactos.git
synced 2025-02-20 15:35:04 +00:00
[GDI32_APITEST]
Fix use of uninitialized variables and remove broken test. See issue #7299 for more details. svn path=/trunk/; revision=57157
This commit is contained in:
parent
ac719ab15d
commit
01800e8784
1 changed files with 2 additions and 2 deletions
|
@ -54,6 +54,8 @@ void Test_CombineTransform()
|
|||
BOOL ret;
|
||||
|
||||
/* Test NULL paramters */
|
||||
set_xform(&xform1, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
|
||||
set_xform(&xform2, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
|
||||
SetLastError(ERROR_SUCCESS);
|
||||
ret = CombineTransform(&xform3, &xform1, NULL);
|
||||
ok_int(ret, 0);
|
||||
|
@ -61,8 +63,6 @@ void Test_CombineTransform()
|
|||
ok_int(ret, 0);
|
||||
ret = CombineTransform(NULL, &xform1, &xform2);
|
||||
ok_int(ret, 0);
|
||||
ret = CombineTransform(&xform3, &xform1, &xform2);
|
||||
ok_int(ret, 0);
|
||||
ok_int(GetLastError(), ERROR_SUCCESS);
|
||||
|
||||
/* 2 zero matrices */
|
||||
|
|
Loading…
Reference in a new issue