msctf/tests: Fix a compiler warning.

This commit is contained in:
Huw Davies 2009-05-14 12:43:55 +01:00 committed by Alexandre Julliard
parent e4d43c1099
commit fcf86b618a
1 changed files with 3 additions and 1 deletions

View File

@ -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;