diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-03-23 11:44:19 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-27 16:35:39 +0200 |
commit | 2c4845ce331e5dfaf5e106f74871ce16721a1358 (patch) | |
tree | 32bf5ee220e114e0bee7ab49fc79a3a287c0f121 /tests/auto/xml | |
parent | 0ee1b4a1dea8b587a5d39bfeb7e18c97f13dd877 (diff) |
Fix some compiler warnings in tests.
- Unused variables
- Deprecated conversion from const char * to char *.
Change-Id: Iea0b9c4613ea74cead6d95ba12ad1028f531cbff
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/xml')
-rw-r--r-- | tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp b/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp index f93d979169..d8b193f5c8 100644 --- a/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp +++ b/tests/auto/xml/sax/qxmlinputsource/tst_qxmlinputsource.cpp @@ -118,9 +118,9 @@ class ServerAndClient : public QObject public: ServerAndClient(QEventLoop &ev) : success(false) , eventLoop(ev) - , isBody(false) , bodyBytesRead(0) , bodyLength(-1) + , isBody(false) { setObjectName("serverAndClient"); tcpServer = new QTcpServer(this); |