Skip to content

Commit

Permalink
Fix compiler warning about unused variable
Browse files Browse the repository at this point in the history
Contributes to issue CURA-7282.
  • Loading branch information
Ghostkeeper committed Mar 31, 2020
1 parent 62adb39 commit b0ace0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/PolygonTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ TEST_F(PolygonTest, simplifyLimitedError)

coord_t max_height = segment_length * std::sqrt(2.0); // the diameter of the circle along the diagonal

for (auto it : spiral_before)
for (size_t i = 0; i < spiral_before.size(); ++i)
{
// apply simplify iteratively for each point until nothing is simplifiable any more
spiral_polygons.simplify(10000, max_height);
Expand Down

0 comments on commit b0ace0f

Please sign in to comment.