Austin English : shell32/tests: Make sure a return value is used (LLVM/ Clang).

Alexandre Julliard julliard at winehq.org
Mon Feb 14 10:02:05 CST 2011


Module: wine
Branch: master
Commit: 3c69f657fbf4f2519f4eee30d7f66827222f11dd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3c69f657fbf4f2519f4eee30d7f66827222f11dd

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 10 11:58:08 2011 -0800

shell32/tests: Make sure a return value is used (LLVM/Clang).

---

 dlls/shell32/tests/shlfolder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index 9dd6296..bc3e426 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -3477,6 +3477,7 @@ static void test_SHCreateShellItemArray(void)
                         {
                             UINT count_sia, i;
                             hr = IShellItemArray_GetCount(psia, &count_sia);
+                            ok(hr == S_OK, "Got 0x%08x\n", hr);
                             ok(count_sia == count, "Counts differ (%d, %d)\n", count, count_sia);
                             for(i = 0; i < count_sia; i++)
                             {




More information about the wine-cvs mailing list