qmgr/tests: make sure return values are used (LLVM/Clang)
Austin English
austinenglish at gmail.com
Mon Feb 7 16:58:45 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/qmgr/tests/qmgr.c b/dlls/qmgr/tests/qmgr.c
index 6dc9c1c..092d009 100644
--- a/dlls/qmgr/tests/qmgr.c
+++ b/dlls/qmgr/tests/qmgr.c
@@ -208,6 +208,7 @@ static void test_globalness(void)
BOOL found = FALSE;
hres = IEnumBackgroundCopyJobs_GetCount(enumJobs, &n);
+ ok(hres == S_OK, "GetCount failed: %08x\n", hres);
for (i = 0; i < n && !found; ++i)
{
LPWSTR name;
@@ -219,6 +220,7 @@ static void test_globalness(void)
IBackgroundCopyJob_Release(job);
}
hres = IEnumBackgroundCopyJobs_Release(enumJobs);
+ ok(hres == S_OK, "Release failed: %08x\n", hres);
ok(found, "Adding a job in another process failed\n");
}
More information about the wine-patches
mailing list