X11: Fixed compile warning about unused variable.

Philipp Wiesemann 2016-10-12 23:38:31 +02:00
parent ed80cfd9bc
commit f6bcfa0175
1 changed files with 2 additions and 0 deletions

View File

@ -396,7 +396,9 @@ X11_VideoInit(_THIS)
char *prev_locale = setlocale(LC_ALL, NULL);
char *prev_xmods = X11_XSetLocaleModifiers(NULL);
const char *new_xmods = "";
#if defined(HAVE_IBUS_IBUS_H) || defined(HAVE_FCITX_FRONTEND_H)
const char *env_xmods = SDL_getenv("XMODIFIERS");
#endif
SDL_bool has_dbus_ime_support = SDL_FALSE;
if (prev_locale) {