https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a4491256924ef73f3a228…
commit a4491256924ef73f3a228fb5816ac158b768b4a6
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Tue Dec 19 19:36:53 2023 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Tue Dec 19 19:36:53 2023 +0900
[MSCTFIME] Fix build of #6197 (6c438e4)
CORE-19360
---
dll/ime/msctfime/msctfime.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dll/ime/msctfime/msctfime.cpp b/dll/ime/msctfime/msctfime.cpp
index 1fcdf3363a4..8ada6608e6c 100644
--- a/dll/ime/msctfime/msctfime.cpp
+++ b/dll/ime/msctfime/msctfime.cpp
@@ -684,13 +684,13 @@ CicBridge::ConfigureRegisterWord(
if (FAILED(hr))
return hr;
- ITfFunctionProvider *pProvider;
+ ITfFunctionProvider *pProvider = NULL;
hr = pThreadMgr->GetFunctionProvider(profile.clsid, &pProvider);
if (FAILED(hr))
return hr;
- ITfFnConfigureRegisterWord *pFunction;
- hr = pProvider->GetFunction(GUID_NULL, IID_ITfFnConfigureRegisterWord,
(IUnknown**)pFunction);
+ ITfFnConfigureRegisterWord *pFunction = NULL;
+ hr = pProvider->GetFunction(GUID_NULL, IID_ITfFnConfigureRegisterWord,
(IUnknown**)&pFunction);
if (FAILED(hr))
{
pProvider->Release();