From dde86b404a079085ff424259974a9f526a40dd2d Mon Sep 17 00:00:00 2001 From: mogemimi Date: Fri, 14 Oct 2016 18:48:00 +0900 Subject: [PATCH] Remove unused local variable (#16698) --- cocos/2d/CCAutoPolygon.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/cocos/2d/CCAutoPolygon.cpp b/cocos/2d/CCAutoPolygon.cpp index fc47e0f2ce..58b0376683 100644 --- a/cocos/2d/CCAutoPolygon.cpp +++ b/cocos/2d/CCAutoPolygon.cpp @@ -552,7 +552,6 @@ std::vector AutoPolygon::expand(const std::vector& points, const coc while(p2->IsHole()){ p2 = p2->GetNext(); } - auto end = p2->Contour.end(); for(const auto& pt : p2->Contour) { outPoints.push_back(Vec2(pt.X/PRECISION, pt.Y/PRECISION));