aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/typesystemparser.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-17 07:36:18 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-28 07:26:02 +0200
commit811a8a0631c6aacb20b68696eb769109af16b519 (patch)
tree7a21dfbfe81ab02ff37da45100a2f9f0758db160 /sources/shiboken2/ApiExtractor/typesystemparser.cpp
parente87b29d4e1c53b79b53bca5e2eda62e6b3d289b3 (diff)
shiboken: Remove unused static functions
Remove _compareAbstractMetaFunctions() msgInvalidVersion(), fixing warnings. Change-Id: I5f55b0de2d3c3fed2df09cb922c02569c937f7c1 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typesystemparser.cpp')
-rw-r--r--sources/shiboken2/ApiExtractor/typesystemparser.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/sources/shiboken2/ApiExtractor/typesystemparser.cpp b/sources/shiboken2/ApiExtractor/typesystemparser.cpp
index 0bb56f0fe..98c729a32 100644
--- a/sources/shiboken2/ApiExtractor/typesystemparser.cpp
+++ b/sources/shiboken2/ApiExtractor/typesystemparser.cpp
@@ -575,17 +575,6 @@ static inline
attribute.value());
}
-static QString msgInvalidVersion(const QStringRef &version, const QString &package = QString())
-{
- QString result;
- QTextStream str(&result);
- str << "Invalid version \"" << version << '"';
- if (!package.isEmpty())
- str << "\" specified for package " << package;
- str << '.';
- return result;
-}
-
static bool addRejection(TypeDatabase *database, QXmlStreamAttributes *attributes,
QString *errorMessage)
{