From 369a82e4218486ad45d4d2dc64f1e0d8d8badc0f Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 5 Apr 2015 02:23:31 -0400 Subject: [PATCH] fix variable shadowing in clipper --- deps/clipper/src/clipper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/clipper/src/clipper.cpp b/deps/clipper/src/clipper.cpp index 3662fd1a5..2e63bc7af 100755 --- a/deps/clipper/src/clipper.cpp +++ b/deps/clipper/src/clipper.cpp @@ -3164,7 +3164,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;