avoid compiler warnings
This commit is contained in:
parent
2f32f991ed
commit
ec8de98740
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ public:
|
||||||
template<class VertexSource>
|
template<class VertexSource>
|
||||||
void concat_path(VertexSource& vs, unsigned path_id = 0)
|
void concat_path(VertexSource& vs, unsigned path_id = 0)
|
||||||
{
|
{
|
||||||
double x, y;
|
double x(0), y(0);
|
||||||
unsigned cmd;
|
unsigned cmd;
|
||||||
vs.rewind(path_id);
|
vs.rewind(path_id);
|
||||||
while(!is_stop(cmd = vs.vertex(&x, &y)))
|
while(!is_stop(cmd = vs.vertex(&x, &y)))
|
||||||
|
|
Loading…
Reference in a new issue