diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-01-03 20:40:13 -0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-09 23:43:12 +0100 |
commit | 57350510bec47a94e6d9d95af9a792f0a815b834 (patch) | |
tree | c06c06aacfcb5a17290fe96d20fd54902032d6b7 /src/xmlpatterns | |
parent | afb65f63a131c4038b0984c1d51b8ffdb4aab129 (diff) | |
download | qtxmlpatterns-57350510bec47a94e6d9d95af9a792f0a815b834.tar.gz |
Remove unused static functions in QtXmlPatterns
Found by Clang 3.4.
Change-Id: I60f78b62d2ecacf58d534623eced537ca62a2405
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/xmlpatterns')
-rw-r--r-- | src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp b/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp index 532967e..67d256e 100644 --- a/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp +++ b/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp @@ -308,12 +308,6 @@ bool AccelTreeResourceLoader::isDocumentAvailable(const QUrl &uri) return retrieveDocument(uri, ReportContext::Ptr()); } -static inline uint qHash(const QPair<QUrl, QString> &desc) -{ - /* Probably a lousy hash. */ - return qHash(desc.first) + qHash(desc.second); -} - bool AccelTreeResourceLoader::retrieveUnparsedText(const QUrl &uri, const QString &encoding, const ReportContext::Ptr &context, |