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

This commit is contained in:
Austin English 2011-02-07 14:58:45 -08:00 committed by Alexandre Julliard
parent f41a70133a
commit 69fd8d5271
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,7 @@ static void test_globalness(void)
BOOL found = FALSE; BOOL found = FALSE;
hres = IEnumBackgroundCopyJobs_GetCount(enumJobs, &n); hres = IEnumBackgroundCopyJobs_GetCount(enumJobs, &n);
ok(hres == S_OK, "GetCount failed: %08x\n", hres);
for (i = 0; i < n && !found; ++i) for (i = 0; i < n && !found; ++i)
{ {
LPWSTR name; LPWSTR name;
@ -219,6 +220,7 @@ static void test_globalness(void)
IBackgroundCopyJob_Release(job); IBackgroundCopyJob_Release(job);
} }
hres = IEnumBackgroundCopyJobs_Release(enumJobs); hres = IEnumBackgroundCopyJobs_Release(enumJobs);
ok(hres == S_OK, "Release failed: %08x\n", hres);
ok(found, "Adding a job in another process failed\n"); ok(found, "Adding a job in another process failed\n");
} }