Fix gcc4 warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24186 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f6d52cb737
commit
6f432b15e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user