SonarQube warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-08-21 21:20:42 +03:00
parent 54dec078da
commit 56273f6429
3 changed files with 1 additions and 8 deletions

View file

@ -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;

View file

@ -127,7 +127,6 @@ QVector<QPointF> VAbstractCurve::FromBegin(const QVector<QPointF> &points, const
{
segment.append(points.at(i+1));
}
continue;
}
}
else

View file

@ -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;
}
}