From 7de70a48046a8710f30a24c295016d6b5e68aa2c Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 16 Feb 2011 17:37:59 -0800 Subject: [PATCH] msi/tests: Make sure to use return values (LLVM/Clang). --- dlls/msi/tests/format.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/msi/tests/format.c b/dlls/msi/tests/format.c index 6ac1242283..facd298c0a 100644 --- a/dlls/msi/tests/format.c +++ b/dlls/msi/tests/format.c @@ -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);