mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
kernel32/tests: Make sure to use return values (LLVM/Clang).
This commit is contained in:
parent
e330380a6b
commit
39d5a90806
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user