Skip to content

Commit

Permalink
X11: Fixed compile warning about unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Oct 12, 2016
1 parent ed80cfd commit f6bcfa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/x11/SDL_x11video.c
Expand Up @@ -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) {
Expand Down

0 comments on commit f6bcfa0

Please sign in to comment.