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

This commit is contained in:
Ozkan Sezer 2022-03-12 01:56:40 +03:00
parent 229297d97f
commit 072db7b005
1 changed files with 1 additions and 3 deletions

View File

@ -761,9 +761,6 @@ IME_ClearComposition(SDL_VideoData *videodata)
static SDL_bool static SDL_bool
IME_IsTextInputShown(SDL_VideoData* videodata) IME_IsTextInputShown(SDL_VideoData* videodata)
{ {
BOOL result;
HIMC himc;
if (!videodata->ime_initialized || !videodata->ime_available || !videodata->ime_enabled) if (!videodata->ime_initialized || !videodata->ime_available || !videodata->ime_enabled)
return SDL_FALSE; return SDL_FALSE;
@ -1130,6 +1127,7 @@ UILess_GetCandidateList(SDL_VideoData *videodata, ITfCandidateListUIElement *pca
DWORD pgstart = 0; DWORD pgstart = 0;
DWORD pgsize = 0; DWORD pgsize = 0;
UINT i, j; UINT i, j;
if (IME_ShowCandidateList(videodata) < 0) if (IME_ShowCandidateList(videodata) < 0)
return; return;