kernel32/tests: Make sure to use return values (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-10 13:28:07 -08:00 committed by Alexandre Julliard
parent e330380a6b
commit 39d5a90806

View File

@ -52,7 +52,7 @@ static void test_GetVersionEx(void)
if (0)
{
/* Silently crashes on XP */
ret = GetVersionExA(NULL);
GetVersionExA(NULL);
}
SetLastError(0xdeadbeef);
@ -166,6 +166,7 @@ static void test_VerifyVersionInfo(void)
ret = pVerifyVersionInfoA(&info, VER_MINORVERSION | VER_SERVICEPACKMAJOR | VER_SERVICEPACKMINOR,
pVerSetConditionMask(pVerSetConditionMask(0, VER_MINORVERSION, VER_GREATER_EQUAL),
VER_MAJORVERSION, VER_GREATER_EQUAL));
ok(ret, "VerifyVersionInfoA failed with error %d\n", GetLastError());
info.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
GetVersionEx((OSVERSIONINFO *)&info);