From 966510249bffc8609e33f397df9af3f5b9433e78 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 3 Jul 2009 04:15:23 +0200 Subject: [PATCH] initialize 'color' value to red rid of the warning --- src/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display.cpp b/src/display.cpp index d9504f18..3251af95 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -97,7 +97,7 @@ void Display::SongsInColumns(const MPD::Song &s, void *s_template, Menu(s_template) : ""; size_t where = 0; - Color color; + Color color = clDefault; for (int width = StrToInt(GetLineValue(st, '(', ')', 1)); width; width = StrToInt(GetLineValue(st, '(', ')', 1))) {