Fix gcc4 warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24186 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2008-03-01 01:12:22 +00:00
parent f6d52cb737
commit 6f432b15e5
1 changed files with 1 additions and 0 deletions

View File

@ -233,6 +233,7 @@ rgb_color
ColorSet::StringToColor(const char *string) const
{
rgb_color color;
color.set_to(0,0,0);
if (!string)
return color;