mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Linux: Fixed compile warnings about unused variables.
This commit is contained in:
parent
1fd2646c60
commit
099e8a685b
@ -43,17 +43,16 @@ static void
|
|||||||
InitIME()
|
InitIME()
|
||||||
{
|
{
|
||||||
static SDL_bool inited = SDL_FALSE;
|
static SDL_bool inited = SDL_FALSE;
|
||||||
const char *im_module;
|
#ifdef HAVE_FCITX_FRONTEND_H
|
||||||
const char *xmodifiers;
|
const char *im_module = SDL_getenv("SDL_IM_MODULE");
|
||||||
|
const char *xmodifiers = SDL_getenv("XMODIFIERS");
|
||||||
|
#endif
|
||||||
|
|
||||||
if (inited == SDL_TRUE)
|
if (inited == SDL_TRUE)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
inited = SDL_TRUE;
|
inited = SDL_TRUE;
|
||||||
|
|
||||||
im_module = SDL_getenv("SDL_IM_MODULE");
|
|
||||||
xmodifiers = SDL_getenv("XMODIFIERS");
|
|
||||||
|
|
||||||
/* See if fcitx IME support is being requested */
|
/* See if fcitx IME support is being requested */
|
||||||
#ifdef HAVE_FCITX_FRONTEND_H
|
#ifdef HAVE_FCITX_FRONTEND_H
|
||||||
if (!SDL_IME_Init_Real &&
|
if (!SDL_IME_Init_Real &&
|
||||||
|
Loading…
Reference in New Issue
Block a user