X11: Fixed compile warning about unused variable.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 12 Oct 2016 23:38:31 +0200
changeset 10518fe8023cff95a
parent 10517 563edd87e287
child 10519 0f444207f50a
X11: Fixed compile warning about unused variable.
src/video/x11/SDL_x11video.c
     1.1 --- a/src/video/x11/SDL_x11video.c	Wed Oct 12 23:36:49 2016 +0200
     1.2 +++ b/src/video/x11/SDL_x11video.c	Wed Oct 12 23:38:31 2016 +0200
     1.3 @@ -396,7 +396,9 @@
     1.4          char *prev_locale = setlocale(LC_ALL, NULL);
     1.5          char *prev_xmods  = X11_XSetLocaleModifiers(NULL);
     1.6          const char *new_xmods = "";
     1.7 +#if defined(HAVE_IBUS_IBUS_H) || defined(HAVE_FCITX_FRONTEND_H)
     1.8          const char *env_xmods = SDL_getenv("XMODIFIERS");
     1.9 +#endif
    1.10          SDL_bool has_dbus_ime_support = SDL_FALSE;
    1.11  
    1.12          if (prev_locale) {