avoid compiler warning about uninittialized variable on osx
This commit is contained in:
parent
f67f6c4ec1
commit
7d8bdb2f94
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue