Prevent a warning from the compiler. It warns that "loadcanvas.cpp:349: warning...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Sep 2007 19:07:50 +0000 (19:07 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Sep 2007 19:07:50 +0000 (19:07 +0000)
git-svn-id: http://svn.voria.com/code@619 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/loadcanvas.cpp

index 220c7a4..9528991 100644 (file)
@@ -346,7 +346,7 @@ CanvasParser::parse_color(xmlpp::Element *element,Canvas::Handle canvas)
                return Color();
        }
 
-       Color color;
+       Color color(0);
 
        xmlpp::Element::NodeList list = element->get_children();
        for(xmlpp::Element::NodeList::iterator iter = list.begin(); iter != list.end(); ++iter)