Commit 7de70a48 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

msi/tests: Make sure to use return values (LLVM/Clang).

parent b6bea541
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment