avoid compiler warning about uninittialized variable on osx

This commit is contained in:
Dane Springmeyer 2010-06-03 18:46:13 +00:00
parent f67f6c4ec1
commit 7d8bdb2f94

View file

@ -254,7 +254,8 @@ void agg_renderer<T>::process(building_symbolizer const& sym,
unsigned cm = geom.vertex(&x0,&y0);
for (unsigned j=1;j<geom.num_points();++j)
{
double x,y;
double x(0);
double y(0);
cm = geom.vertex(&x,&y);
if (cm == SEG_MOVETO)
{