msi/tests: Test a return value (clang).

This commit is contained in:
Hans Leidekker 2011-01-27 11:55:52 +01:00 committed by Alexandre Julliard
parent af3733cde5
commit 4a7371e32d
1 changed files with 2 additions and 0 deletions

View File

@ -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);