SonarQube warnings.
--HG-- branch : develop
This commit is contained in:
parent
54dec078da
commit
56273f6429
|
@ -132,11 +132,7 @@ int VAbstractCubicBezierPath::Segment(const QPointF &p) const
|
|||
for (qint32 i = 1; i <= CountSubSpl(); ++i)
|
||||
{
|
||||
const qreal t = GetSpline(i).ParamT(p);
|
||||
if (not qFuzzyIsNull(t) && qFuzzyCompare(t, -1))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else
|
||||
if (qFuzzyIsNull(t) || not qFuzzyCompare(t, -1))
|
||||
{
|
||||
index = i;
|
||||
break;
|
||||
|
|
|
@ -127,7 +127,6 @@ QVector<QPointF> VAbstractCurve::FromBegin(const QVector<QPointF> &points, const
|
|||
{
|
||||
segment.append(points.at(i+1));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -141,7 +141,6 @@ void VBank::Arranged(int i)
|
|||
if (small.contains(i))
|
||||
{
|
||||
small.remove(i);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -166,7 +165,6 @@ void VBank::NotArranged(int i)
|
|||
{
|
||||
unsorted.insert(i, small.value(i));
|
||||
small.remove(i);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user