From 0e890697ac0df0e70138b2fa7a772a23ceaf2885 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 5 Feb 2008 15:40:16 +0100 Subject: [PATCH] fix uninit warning --- widgets/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/graph.c b/widgets/graph.c index e9c01c93..a2712770 100644 --- a/widgets/graph.c +++ b/widgets/graph.c @@ -241,7 +241,7 @@ graph_new(Statusbar *statusbar, cfg_t *config) int phys_screen = get_phys_screen(statusbar->screen); int i; char *type; - XColor tmp_color; + XColor tmp_color = { 0, 0, 0, 0, 0, 0 }; XColor *ptmp_color_middle; XColor *ptmp_color_end;