remove unused global variable "colors"

This commit is contained in:
Sascha Kruse 2013-02-21 00:31:02 +00:00
parent 6f5ef3f3a2
commit 36f7d5c8b7

View File

@ -71,7 +71,6 @@ typedef struct _x11_source {
int height_limit; int height_limit;
/* index of colors fit to urgency level */ /* index of colors fit to urgency level */
static ColorSet *colors[3];
static const char *color_strings[2][3]; static const char *color_strings[2][3];
static Atom utf8; static Atom utf8;
static DC *dc; static DC *dc;
@ -1120,10 +1119,6 @@ void x_setup(void)
x_shortcut_grab(&context_ks); x_shortcut_grab(&context_ks);
x_shortcut_ungrab(&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][LOW] = lowfgcolor;
color_strings[ColFG][NORM] = normfgcolor; color_strings[ColFG][NORM] = normfgcolor;
color_strings[ColFG][CRIT] = critfgcolor; color_strings[ColFG][CRIT] = critfgcolor;