diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2014-02-20 02:20:29 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2014-02-20 02:20:29 +0100 |
commit | 13d5a48507a4aa161ea1353e0e6913719c6d57cc (patch) | |
tree | 5ef7619fbdce7731e13a3edecbe533fb7b9a077e | |
parent | b4dd29b6c9881f80e02c5f4cf11a1bc8a8ee6d92 (diff) | |
download | ratpoison-13d5a48507a4aa161ea1353e0e6913719c6d57cc.zip |
Kill noisy local variable.
-rw-r--r-- | src/input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c index 68eb453..894b260 100644 --- a/src/input.c +++ b/src/input.c @@ -303,7 +303,6 @@ grab_key (KeySym keysym, unsigned int modifiers, Window grab_window) char * keysym_to_string (KeySym keysym, unsigned int modifier) { - static char *null_string = "NULL"; struct sbuf *name; char *tmp; @@ -320,7 +319,7 @@ keysym_to_string (KeySym keysym, unsigned int modifier) can return NULL. In this case use the "NULL" string. */ tmp = XKeysymToString (keysym); if (tmp == NULL) - tmp = null_string; + tmp = "NULL"; sbuf_concat (name, tmp); |