Commit 072db7b005ee19f8e53fd4d41491d6af8aa25790

Ozkan Sezer 2022-03-12T01:56:40

SDL_windowskeyboard.c (IME_IsTextInputShown): remove unused local vars.

diff --git a/src/video/windows/SDL_windowskeyboard.c b/src/video/windows/SDL_windowskeyboard.c
index d9bd32a..deea44b 100644
--- a/src/video/windows/SDL_windowskeyboard.c
+++ b/src/video/windows/SDL_windowskeyboard.c
@@ -761,9 +761,6 @@ IME_ClearComposition(SDL_VideoData *videodata)
 static SDL_bool
 IME_IsTextInputShown(SDL_VideoData* videodata)
 {
-    BOOL result;
-    HIMC himc;
-
     if (!videodata->ime_initialized || !videodata->ime_available || !videodata->ime_enabled)
         return SDL_FALSE;
 
@@ -1130,6 +1127,7 @@ UILess_GetCandidateList(SDL_VideoData *videodata, ITfCandidateListUIElement *pca
     DWORD pgstart = 0;
     DWORD pgsize = 0;
     UINT i, j;
+
     if (IME_ShowCandidateList(videodata) < 0)
         return;