Austin English : wintrust/tests: Make sure return values are used (LLVM/ Clang).
Alexandre Julliard
julliard at winehq.org
Fri Feb 4 09:37:17 CST 2011
Module: wine
Branch: master
Commit: 4d6caaebbd2a1b086b71928b3d0475b3af9b545a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d6caaebbd2a1b086b71928b3d0475b3af9b545a
Author: Austin English <austinenglish at gmail.com>
Date: Thu Feb 3 17:47:15 2011 -0800
wintrust/tests: Make sure return values are used (LLVM/Clang).
---
dlls/wintrust/tests/crypt.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wintrust/tests/crypt.c b/dlls/wintrust/tests/crypt.c
index 68a9ebc..bb561a2 100644
--- a/dlls/wintrust/tests/crypt.c
+++ b/dlls/wintrust/tests/crypt.c
@@ -616,6 +616,7 @@ static void test_CryptCATAdminAddRemoveCatalog(void)
/* Set the attributes so we can delete the file */
attrs = FILE_ATTRIBUTE_NORMAL;
ret = SetFileAttributesA(tmpfile, attrs);
+ ok(ret, "SetFileAttributesA failed %u\n", GetLastError());
DeleteFileA(tmpfile);
}
@@ -784,7 +785,7 @@ static void test_create_catalog_file(void)
/* Only enumerate the members */
trace("Only members\n");
- attrcount = membercount = 0;
+ membercount = 0;
catcdf = pCryptCATCDFOpen(cdffileW, NULL);
catmember = NULL;
More information about the wine-cvs
mailing list