Huw Davies : msctf/tests: Fix a compiler warning.

Alexandre Julliard julliard at winehq.org
Mon May 18 08:13:15 CDT 2009


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Thu May 14 12:43:55 2009 +0100

msctf/tests: Fix a compiler warning.

---

 dlls/msctf/tests/inputprocessor.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/msctf/tests/inputprocessor.c b/dlls/msctf/tests/inputprocessor.c
index a3070fc..3728711 100644
--- a/dlls/msctf/tests/inputprocessor.c
+++ b/dlls/msctf/tests/inputprocessor.c
@@ -823,7 +823,9 @@ static void test_ThreadMgrAdviseSinks(void)
     if (!source)
         return;
 
-    ThreadMgrEventSink_Constructor(&sink);
+    hr = ThreadMgrEventSink_Constructor(&sink);
+    ok(hr == S_OK, "got %08x\n", hr);
+    if(FAILED(hr)) return;
 
     tmSinkRefCount = 1;
     tmSinkCookie = 0;




More information about the wine-cvs mailing list