Cppcheck.
--HG-- branch : develop
This commit is contained in:
parent
5bed7e7a86
commit
f17a12d147
|
@ -290,7 +290,6 @@ qreal Calculator::find_var(QString s)
|
|||
* @brief serror report an error
|
||||
* @param error error code
|
||||
*/
|
||||
// cppcheck-suppress functionStatic
|
||||
void Calculator::serror(qint32 error)
|
||||
{
|
||||
QString e[]=
|
||||
|
|
|
@ -87,6 +87,7 @@ private:
|
|||
static void arith(QChar o, qreal *r, qreal *h);
|
||||
static void unary(QChar o, qreal *r);
|
||||
qreal find_var(QString s);
|
||||
// cppcheck-suppress functionStatic
|
||||
void serror(qint32 error);
|
||||
static char look_up(QString s);
|
||||
static bool isdelim(QChar c);
|
||||
|
|
|
@ -163,6 +163,7 @@ void DialogArc::PutF2()
|
|||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
// cppcheck-suppress unusedFunction
|
||||
void DialogArc::LineAngles()
|
||||
{
|
||||
ShowLineAngles();
|
||||
|
|
|
@ -121,6 +121,7 @@ public slots:
|
|||
/**
|
||||
* @brief LineAngles show variable angles of lines
|
||||
*/
|
||||
// cppcheck-suppress unusedFunction
|
||||
void LineAngles();
|
||||
/**
|
||||
* @brief RadiusChanged after change formula of radius calculate value and show result
|
||||
|
|
|
@ -110,6 +110,7 @@ QString VSpline::name() const
|
|||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
// cppcheck-suppress unusedFunction
|
||||
QLineF::IntersectType VSpline::CrossingSplLine ( const QLineF &line, QPointF *intersectionPoint ) const
|
||||
{
|
||||
QVector<qreal> px;
|
||||
|
@ -588,6 +589,7 @@ QPainterPath VSpline::GetPath() const
|
|||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
// cppcheck-suppress unusedFunction
|
||||
QVector<QPointF> VSpline::SplinePoints(const QPointF &p1, const QPointF &p4, qreal angle1, qreal angle2, qreal kAsm1,
|
||||
qreal kAsm2, qreal kCurve)
|
||||
{
|
||||
|
|
|
@ -137,6 +137,7 @@ public:
|
|||
* @param intersectionPoint intersection point.
|
||||
* @return result intersection.
|
||||
*/
|
||||
// cppcheck-suppress unusedFunction
|
||||
QLineF::IntersectType CrossingSplLine(const QLineF &line, QPointF *intersectionPoint ) const;
|
||||
qreal LengthT(qreal t) const;
|
||||
/**
|
||||
|
@ -171,6 +172,7 @@ public:
|
|||
* @param kCurve coefficient of curvature spline.
|
||||
* @return
|
||||
*/
|
||||
// cppcheck-suppress unusedFunction
|
||||
static QVector<QPointF> SplinePoints(const QPointF &p1, const QPointF &p4, qreal angle1, qreal angle2, qreal kAsm1,
|
||||
qreal kAsm2, qreal kCurve);
|
||||
/**
|
||||
|
|
|
@ -48,6 +48,7 @@ public:
|
|||
qint64 line() const;
|
||||
qint64 column() const;
|
||||
protected:
|
||||
// cppcheck-suppress unusedFunction
|
||||
virtual void handleMessage(QtMsgType type, const QString &description,
|
||||
const QUrl &identifier, const QSourceLocation &sourceLocation)
|
||||
{
|
||||
|
|
|
@ -568,7 +568,7 @@ bool QmuParserTokenReader::IsEOF ( token_type &a_Tok )
|
|||
{
|
||||
qDebug() << "\n "
|
||||
<< " Code:" << e.GetCode() << "(" << e.GetMsg() << ")";
|
||||
throw e;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user