summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-01-09 22:00:50 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-10 16:08:29 +0100
commit831c6a4ec263b0f3237db488005cdb69989cfa49 (patch)
treebd443e0eca44477d89eb15107d3bb4e16911a76d
parent57350510bec47a94e6d9d95af9a792f0a815b834 (diff)
downloadqtxmlpatterns-831c6a4ec263b0f3237db488005cdb69989cfa49.tar.gz
Remove unused variable, found by ICC 14v5.2.1
qxslttokenizer.cpp(700): warning #177: variable "val" was declared but never referenced const QStringRef val(m_currentAttributes.value(CommonNamespaces::XML, QLatin1String("space"))); ^ Change-Id: Ic806bf1e9c22ead8680907b0e22794d7b07dcc90 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
-rw-r--r--src/xmlpatterns/parser/qxslttokenizer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xmlpatterns/parser/qxslttokenizer.cpp b/src/xmlpatterns/parser/qxslttokenizer.cpp
index 8373531..0925b0b 100644
--- a/src/xmlpatterns/parser/qxslttokenizer.cpp
+++ b/src/xmlpatterns/parser/qxslttokenizer.cpp
@@ -697,8 +697,6 @@ void XSLTTokenizer::handleStandardAttributes(const bool isXSLTElement)
if(att.qualifiedName() == QLatin1String("xml:space"))
{
- const QStringRef val(m_currentAttributes.value(CommonNamespaces::XML, QLatin1String("space")));
-
/* We raise an error if the value is not recognized.
*
* Extensible Markup Language (XML) 1.0 (Fourth Edition), 2.10