shell32/tests: make sure a return value is used (LLVM/Clang) (6/7)
Austin English
austinenglish at gmail.com
Thu Feb 10 15:28:32 CST 2011
--
-Austin
-------------- next part --------------
From f5b6a2b11140c52658dc8879e6e9df4899400ca2 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Thu, 10 Feb 2011 11:58:08 -0800
Subject: [PATCH 2/2] missing ok
---
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++)
{
--
1.7.3.4
More information about the wine-patches
mailing list