mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
version/tests: Make sure return values are used (LLVM/Clang).
This commit is contained in:
parent
92cb70e97c
commit
121885dd2d
@ -341,12 +341,14 @@ static void test_32bit_win(void)
|
||||
retvalW = GetFileVersionInfoSizeW( mypathW, &hdlW);
|
||||
pVersionInfoW = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, retvalW );
|
||||
retW = GetFileVersionInfoW( mypathW, 0, retvalW, pVersionInfoW );
|
||||
ok(retW, "GetFileVersionInfo failed: GetLastError = %u\n", GetLastError());
|
||||
}
|
||||
|
||||
GetModuleFileNameA(NULL, mypathA, MAX_PATH);
|
||||
retvalA = GetFileVersionInfoSizeA( mypathA, &hdlA);
|
||||
pVersionInfoA = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, retvalA );
|
||||
retA = GetFileVersionInfoA( mypathA, 0, retvalA, pVersionInfoA );
|
||||
ok(retA, "GetFileVersionInfo failed: GetLastError = %u\n", GetLastError());
|
||||
|
||||
if (is_unicode_enabled)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user