avoid compiler warnings

This commit is contained in:
Dane Springmeyer 2010-09-18 18:51:22 +00:00
parent 2f32f991ed
commit ec8de98740

View file

@ -154,7 +154,7 @@ public:
template<class VertexSource>
void concat_path(VertexSource& vs, unsigned path_id = 0)
{
double x, y;
double x(0), y(0);
unsigned cmd;
vs.rewind(path_id);
while(!is_stop(cmd = vs.vertex(&x, &y)))