Commit 4d6caaeb authored by Austin English's avatar Austin English Committed by Alexandre Julliard

wintrust/tests: Make sure return values are used (LLVM/Clang).

parent 855c5e84
...@@ -616,6 +616,7 @@ static void test_CryptCATAdminAddRemoveCatalog(void) ...@@ -616,6 +616,7 @@ static void test_CryptCATAdminAddRemoveCatalog(void)
/* Set the attributes so we can delete the file */ /* Set the attributes so we can delete the file */
attrs = FILE_ATTRIBUTE_NORMAL; attrs = FILE_ATTRIBUTE_NORMAL;
ret = SetFileAttributesA(tmpfile, attrs); ret = SetFileAttributesA(tmpfile, attrs);
ok(ret, "SetFileAttributesA failed %u\n", GetLastError());
DeleteFileA(tmpfile); DeleteFileA(tmpfile);
} }
...@@ -784,7 +785,7 @@ static void test_create_catalog_file(void) ...@@ -784,7 +785,7 @@ static void test_create_catalog_file(void)
/* Only enumerate the members */ /* Only enumerate the members */
trace("Only members\n"); trace("Only members\n");
attrcount = membercount = 0; membercount = 0;
catcdf = pCryptCATCDFOpen(cdffileW, NULL); catcdf = pCryptCATCDFOpen(cdffileW, NULL);
catmember = NULL; catmember = NULL;
......
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