From 778d4bebc16e92672d77fb19724d9305e985ae71 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 19 Sep 2018 18:53:32 +0300 Subject: [PATCH] Disable warning Wunused-function. --HG-- branch : release --- src/libs/vlayout/vabstractpiece.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libs/vlayout/vabstractpiece.cpp b/src/libs/vlayout/vabstractpiece.cpp index c25719f94..adac8806f 100644 --- a/src/libs/vlayout/vabstractpiece.cpp +++ b/src/libs/vlayout/vabstractpiece.cpp @@ -623,6 +623,8 @@ qreal AngleBetweenBisectors(const QLineF &b1, const QLineF &b2) } //--------------------------------------------------------------------------------------------------------------------- +QT_WARNING_PUSH +QT_WARNING_DISABLE_GCC("-Wunused-function") // Use for writing tests void DumpVector(const QVector &points) { @@ -736,6 +738,7 @@ QT_WARNING_POP out << endl << "return points;"; } } +QT_WARNING_POP } //---------------------------------------------------------------------------------------------------------------------