Add an explicit "return" statement with an expression.
--HG-- branch : develop
This commit is contained in:
parent
2c6f1d9f64
commit
34b70cfb02
|
@ -137,6 +137,7 @@ QPointF VToolShoulderPoint::FindPoint(const QPointF &p1Line, const QPointF &p2Li
|
||||||
return line.p2();
|
return line.p2();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return QPointF();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -211,6 +211,7 @@ QPointF VToolPointFromArcAndTangent::FindPoint(const QPointF &p, const VArc *arc
|
||||||
default:
|
default:
|
||||||
return QPointF();
|
return QPointF();
|
||||||
}
|
}
|
||||||
|
return QPointF();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -153,6 +153,7 @@ QPointF VToolPointOfContact::FindPoint(const qreal &radius, const QPointF ¢e
|
||||||
qDebug() << "Unxpected value" << res;
|
qDebug() << "Unxpected value" << res;
|
||||||
return QPointF();
|
return QPointF();
|
||||||
}
|
}
|
||||||
|
return QPointF();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -218,6 +218,7 @@ QPointF VToolPointOfIntersectionArcs::FindPoint(const VArc *arc1, const VArc *ar
|
||||||
default:
|
default:
|
||||||
return QPointF();
|
return QPointF();
|
||||||
}
|
}
|
||||||
|
return QPointF();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -228,6 +228,7 @@ QPointF VToolTriangle::FindPoint(const QPointF &axisP1, const QPointF &axisP2, c
|
||||||
return line.p2();
|
return line.p2();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return QPointF();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user