Add an explicit "return" statement with an expression.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-02-22 19:40:50 +02:00
parent 2c6f1d9f64
commit 34b70cfb02
5 changed files with 5 additions and 0 deletions

View File

@ -137,6 +137,7 @@ QPointF VToolShoulderPoint::FindPoint(const QPointF &p1Line, const QPointF &p2Li
return line.p2(); return line.p2();
} }
} }
return QPointF();
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------

View File

@ -211,6 +211,7 @@ QPointF VToolPointFromArcAndTangent::FindPoint(const QPointF &p, const VArc *arc
default: default:
return QPointF(); return QPointF();
} }
return QPointF();
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------

View File

@ -153,6 +153,7 @@ QPointF VToolPointOfContact::FindPoint(const qreal &radius, const QPointF &cente
qDebug() << "Unxpected value" << res; qDebug() << "Unxpected value" << res;
return QPointF(); return QPointF();
} }
return QPointF();
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------

View File

@ -218,6 +218,7 @@ QPointF VToolPointOfIntersectionArcs::FindPoint(const VArc *arc1, const VArc *ar
default: default:
return QPointF(); return QPointF();
} }
return QPointF();
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------

View File

@ -228,6 +228,7 @@ QPointF VToolTriangle::FindPoint(const QPointF &axisP1, const QPointF &axisP2, c
return line.p2(); return line.p2();
} }
} }
return QPointF();
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------