Module: wine Branch: master Commit: 69fd8d52715bdd6095b266ff6d2b35e630859dbd URL: http://source.winehq.org/git/wine.git/?a=commit;h=69fd8d52715bdd6095b266ff6d...
Author: Austin English austinenglish@gmail.com Date: Mon Feb 7 14:58:45 2011 -0800
qmgr/tests: Make sure return values are used (LLVM/Clang).
---
dlls/qmgr/tests/qmgr.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
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"); }