Austin English : version/tests: Make sure return values are used (LLVM/ Clang).
Alexandre Julliard
julliard at winehq.org
Wed Feb 9 15:30:12 CST 2011
Module: wine
Branch: master
Commit: 121885dd2d37eab454d80fcba39a8d655d9613c4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=121885dd2d37eab454d80fcba39a8d655d9613c4
Author: Austin English <austinenglish at gmail.com>
Date: Tue Feb 8 16:05:19 2011 -0800
version/tests: Make sure return values are used (LLVM/Clang).
---
dlls/version/tests/info.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/version/tests/info.c b/dlls/version/tests/info.c
index edf607c..e4badbe 100644
--- a/dlls/version/tests/info.c
+++ b/dlls/version/tests/info.c
@@ -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)
{
More information about the wine-cvs
mailing list