From 36f7d5c8b74075874adca2f2b0050fe3526c5f67 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Thu, 21 Feb 2013 00:31:02 +0000 Subject: [PATCH] remove unused global variable "colors" --- dunst.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dunst.c b/dunst.c index 30e2a5e..bcea42f 100644 --- a/dunst.c +++ b/dunst.c @@ -71,7 +71,6 @@ typedef struct _x11_source { int height_limit; /* index of colors fit to urgency level */ -static ColorSet *colors[3]; static const char *color_strings[2][3]; static Atom utf8; static DC *dc; @@ -1120,10 +1119,6 @@ void x_setup(void) x_shortcut_grab(&context_ks); x_shortcut_ungrab(&context_ks); - colors[LOW] = initcolor(dc, lowfgcolor, lowbgcolor); - colors[NORM] = initcolor(dc, normfgcolor, normbgcolor); - colors[CRIT] = initcolor(dc, critfgcolor, critbgcolor); - color_strings[ColFG][LOW] = lowfgcolor; color_strings[ColFG][NORM] = normfgcolor; color_strings[ColFG][CRIT] = critfgcolor;