From 13d5a48507a4aa161ea1353e0e6913719c6d57cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= Date: Thu, 20 Feb 2014 02:20:29 +0100 Subject: Kill noisy local variable. --- src/input.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3