Fixed a shadowed variable warning in clipper

This commit is contained in:
Maciej Suminski 2017-02-27 10:42:19 +01:00
parent 9ead2b068b
commit 799c8b6922
1 changed files with 1 additions and 1 deletions

View File

@ -3215,7 +3215,7 @@ void Clipper::BuildResult(Paths &polys)
int cnt = PointCount(p);
if (cnt < 2) continue;
pg.reserve(cnt);
for (int i = 0; i < cnt; ++i)
for (int j = 0; j < cnt; ++j)
{
pg.push_back(p->Pt);
p = p->Prev;