mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
msi/tests: Make sure to use return values (LLVM/Clang).
This commit is contained in:
parent
b6bea541db
commit
7de70a4804
@ -1023,6 +1023,7 @@ static void test_formatrecord(void)
|
||||
ok( r == ERROR_SUCCESS, "format failed\n");
|
||||
|
||||
r = MsiRecordSetString(hrec, 0, "[]");
|
||||
ok( r == ERROR_SUCCESS, "set string failed\n");
|
||||
sz = sizeof buffer;
|
||||
r = MsiFormatRecord(0, hrec, buffer, &sz);
|
||||
ok( sz == 2, "size wrong\n");
|
||||
@ -1964,6 +1965,7 @@ static void test_formatrecord_package(void)
|
||||
r = MsiRecordSetString(hrec, 4, "[prop]");
|
||||
ok( r == ERROR_SUCCESS, "set string failed\n");
|
||||
r = MsiRecordSetString(hrec, 5, "[noprop]");
|
||||
ok( r == ERROR_SUCCESS, "set string failed\n");
|
||||
sz = sizeof buffer;
|
||||
r = MsiFormatRecord(package, hrec, buffer, &sz);
|
||||
ok( r == ERROR_SUCCESS, "format failed with empty buffer (%i)\n",r);
|
||||
|
Loading…
Reference in New Issue
Block a user