[06/10] msi/tests: Test a return value (clang).

Hans Leidekker hans at codeweavers.com
Thu Jan 27 04:55:52 CST 2011


---
 dlls/msi/tests/install.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c
index 5461387..1ae39d4 100644
--- a/dlls/msi/tests/install.c
+++ b/dlls/msi/tests/install.c
@@ -5535,6 +5535,8 @@ static void process_pending_renames(HKEY hkey)
     BOOL found = FALSE;
 
     ret = RegQueryValueExA(hkey, rename_ops, NULL, NULL, NULL, &size);
+    ok(!ret, "RegQueryValueExA failed %d\n", ret);
+
     buf = HeapAlloc(GetProcessHeap(), 0, size + 1);
     buf2ptr = buf2 = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size + 1);
 
-- 
1.7.1







More information about the wine-patches mailing list