https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f6317405f68a825396c90f9e04e35271ab09e1fc

commit f6317405f68a825396c90f9e04e35271ab09e1fc
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Thu Mar 3 10:21:49 2022 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Thu Mar 3 10:21:49 2022 +0900

    [IMM32] Silence "invalid HIMC" in Imm32CleanupContext
    
    CORE-18049
---
 dll/win32/imm32/imm.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dll/win32/imm32/imm.c b/dll/win32/imm32/imm.c
index 1d80bf28232..2a22fc18671 100644
--- a/dll/win32/imm32/imm.c
+++ b/dll/win32/imm32/imm.c
@@ -638,10 +638,7 @@ BOOL APIENTRY Imm32CleanupContext(HIMC hIMC, HKL hKL, BOOL 
bKeep)
     PIMC pIMC;
 
     if (!IS_IMM_MODE() || hIMC == NULL)
-    {
-        ERR("invalid HIMC\n");
         return FALSE;
-    }
 
     pIMC = ValidateHandleNoErr(hIMC, TYPE_INPUTCONTEXT);
     if (!pIMC || pIMC->head.pti != Imm32CurrentPti())

Reply via email to