initialize 'color' value to red rid of the warning

This commit is contained in:
Andrzej Rybczak
2009-07-03 04:15:23 +02:00
parent ff3e90d91d
commit 966510249b

View File

@@ -97,7 +97,7 @@ void Display::SongsInColumns(const MPD::Song &s, void *s_template, Menu<MPD::Son
string st = s_template ? *static_cast<string *>(s_template) : "";
size_t where = 0;
Color color;
Color color = clDefault;
for (int width = StrToInt(GetLineValue(st, '(', ')', 1)); width; width = StrToInt(GetLineValue(st, '(', ')', 1)))
{