Module: wine Branch: master Commit: 24eaf19300f7c6c627e16a1682c48fb04117c98e URL: http://source.winehq.org/git/wine.git/?a=commit;h=24eaf19300f7c6c627e16a1682...
Author: Austin English austinenglish@gmail.com Date: Mon Jul 25 18:42:58 2011 -0700
msctf/tests: Make sure return values are used (LLVM/Clang).
---
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 47065d1..312d3b2 100644 --- a/dlls/msctf/tests/inputprocessor.c +++ b/dlls/msctf/tests/inputprocessor.c @@ -1453,7 +1453,7 @@ static void test_startSession(void) ok(SUCCEEDED(hr),"GetFocus Failed\n"); ok(g_dm == dmtest,"Expected DocumentMgr not focused\n");
- cnt = ITfDocumentMgr_Release(g_dm); + ITfDocumentMgr_Release(g_dm);
hr = ITfThreadMgr_GetFocus(g_tm,&dmtest); ok(SUCCEEDED(hr),"GetFocus Failed\n"); @@ -1807,6 +1807,7 @@ TfEditCookie ec) selection.style.fInterimChar = FALSE; test_ACP_SetSelection = SINK_EXPECTED; hr = ITfContext_SetSelection(cxt, ec, 1, &selection); + ok(SUCCEEDED(hr),"ITfContext_SetSelection failed\n"); sink_check_ok(&test_ACP_SetSelection,"SetSelection"); ITfRange_Release(range);
@@ -2010,6 +2011,7 @@ static void test_AssociateFocus(void) test_OnSetFocus = SINK_OPTIONAL; /* Doesn't always fire on Win7 */ test_ACP_GetStatus = SINK_OPTIONAL; hr = ITfThreadMgr_SetFocus(g_tm,NULL); + ok(SUCCEEDED(hr),"ITfThreadMgr_SetFocus failed\n"); sink_check_ok(&test_OnSetFocus,"OnSetFocus"); test_ACP_GetStatus = SINK_UNEXPECTED; ITfDocumentMgr_Release(dmorig);