Austin English : msi/tests: Make sure to use return values (LLVM/Clang).
Alexandre Julliard
julliard at winehq.org
Thu Feb 17 13:06:34 CST 2011
Module: wine
Branch: master
Commit: 7de70a48046a8710f30a24c295016d6b5e68aa2c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7de70a48046a8710f30a24c295016d6b5e68aa2c
Author: Austin English <austinenglish at gmail.com>
Date: Wed Feb 16 17:37:59 2011 -0800
msi/tests: Make sure to use return values (LLVM/Clang).
---
dlls/msi/tests/format.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/tests/format.c b/dlls/msi/tests/format.c
index 6ac1242..facd298 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);
More information about the wine-cvs
mailing list