Suppress warning Wunused-function.
Try number 2. --HG-- branch : release
This commit is contained in:
parent
778d4bebc1
commit
252fa3a0de
|
@ -623,8 +623,7 @@ qreal AngleBetweenBisectors(const QLineF &b1, const QLineF &b2)
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
QT_WARNING_PUSH
|
#if !defined(V_NO_ASSERT)
|
||||||
QT_WARNING_DISABLE_GCC("-Wunused-function")
|
|
||||||
// Use for writing tests
|
// Use for writing tests
|
||||||
void DumpVector(const QVector<QPointF> &points)
|
void DumpVector(const QVector<QPointF> &points)
|
||||||
{
|
{
|
||||||
|
@ -738,7 +737,7 @@ QT_WARNING_POP
|
||||||
out << endl << "return points;";
|
out << endl << "return points;";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QT_WARNING_POP
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user