diff --git a/src/core/geometry/qgsgeometryutils.cpp b/src/core/geometry/qgsgeometryutils.cpp index 2ce680b36f7..1cbc15d122c 100644 --- a/src/core/geometry/qgsgeometryutils.cpp +++ b/src/core/geometry/qgsgeometryutils.cpp @@ -762,7 +762,6 @@ void QgsGeometryUtils::segmentizeArc( const QgsPoint &p1, const QgsPoint &p2, co { addP2 = false; } - addP2 = false; // As we're adding the last point in any case, we'll avoid // including a point which is at less than 1% increment distance