GCC warning.

This commit is contained in:
Roman Telezhynskyi 2021-07-24 12:35:22 +03:00
parent a474713b77
commit 8656e9f633

View File

@ -362,8 +362,6 @@ QPointF VArc::CutArc(qreal length, VArc &arc1, VArc &arc2) const
}
QLineF line(static_cast<QPointF>(GetCenter()), GetP1());
const qreal minLength = ToPixel(1, Unit::Mm);
const qreal maxLength = fullLength - ToPixel(1, Unit::Mm);
if (not IsFlipped())
{