summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-09-16 18:05:00 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-09-21 15:04:42 (GMT)
commit4ba969f166f297a9401a6a1a8da616044bbb6da4 (patch)
tree02c585e5ab6cd681a60499f24523fd1e8d5244ae /tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp
parentfab5f4b751efa7d2289a37ab1b574a5c97bfb260 (diff)
downloadQt-4ba969f166f297a9401a6a1a8da616044bbb6da4.zip
Qt-4ba969f166f297a9401a6a1a8da616044bbb6da4.tar.gz
Qt-4ba969f166f297a9401a6a1a8da616044bbb6da4.tar.bz2
Fixing some compilation warnings in xml tests
Reviewed-by: Peter Hartmann
Diffstat (limited to 'tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp')
-rw-r--r--tests/auto/xmlpatternsxqts/lib/XMLWriter.cpp2
1 files changed, 1 insertions, 1 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))
{