summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsxqts/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/xmlpatternsxqts/lib')
-rw-r--r--tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp2
-rw-r--r--tests/auto/xmlpatternsxqts/lib/XSDTSTestCase.h2
-rw-r--r--tests/auto/xmlpatternsxqts/lib/XSDTestSuiteHandler.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp b/tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp
index 1ab2c80..3d1683c 100644
--- a/tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp
+++ b/tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp
@@ -311,7 +311,7 @@ public:
d->errorString = d->device()->errorString(); \
return false; \
} \
- else
+ else do {} while (false)
XMLWriter::XMLWriter(QIODevice *outStream) : d(new Private(outStream))
{
diff --git a/tests/auto/xmlpatternsxqts/lib/XSDTSTestCase.h b/tests/auto/xmlpatternsxqts/lib/XSDTSTestCase.h
index f0e6d48..1543097 100644
--- a/tests/auto/xmlpatternsxqts/lib/XSDTSTestCase.h
+++ b/tests/auto/xmlpatternsxqts/lib/XSDTSTestCase.h
@@ -115,7 +115,7 @@ namespace QPatternistSDK
void setName(const QString &name);
void setSchemaUri(const QUrl &uri);
void setInstanceUri(const QUrl &uri);
- void setTestCasePath(const QUrl &uri) {}
+ void setTestCasePath(const QUrl & /* uri */) {}
void setContextItemSource(const QUrl &uri);
void addBaseLine(TestBaseLine *lines);
diff --git a/tests/auto/xmlpatternsxqts/lib/XSDTestSuiteHandler.cpp b/tests/auto/xmlpatternsxqts/lib/XSDTestSuiteHandler.cpp
index b89427a..32bb2b8 100644
--- a/tests/auto/xmlpatternsxqts/lib/XSDTestSuiteHandler.cpp
+++ b/tests/auto/xmlpatternsxqts/lib/XSDTestSuiteHandler.cpp
@@ -871,7 +871,7 @@ bool XSDTestSuiteHandler::startElement(const QString &namespaceURI,
return true;
}
-bool XSDTestSuiteHandler::endElement(const QString &namespaceURI,
+bool XSDTestSuiteHandler::endElement(const QString &/*namespaceURI*/,
const QString &localName,
const QString &/*qName*/)
{