Fixed a shadowed variable warning in clipper
This commit is contained in:
parent
9ead2b068b
commit
799c8b6922
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue