From fcf86b618a13ac1550e26df34bef919c2bfc3977 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Thu, 14 May 2009 12:43:55 +0100 Subject: [PATCH] msctf/tests: Fix a compiler warning. --- dlls/msctf/tests/inputprocessor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/msctf/tests/inputprocessor.c b/dlls/msctf/tests/inputprocessor.c index a3070fc41f2..372871197aa 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;