summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorAndy <qt-info@nokia.com>2009-06-04 06:44:35 (GMT)
committerAndy <qt-info@nokia.com>2009-06-04 06:44:35 (GMT)
commit289c098c15a359c4e5d142a997230db5df554f8d (patch)
tree3bf6ba814db090b2bacc5f334a1759029610c3fc /tests/auto
parent8021218dd5ab2d7ad9314b1c2a54168de4694065 (diff)
downloadQt-289c098c15a359c4e5d142a997230db5df554f8d.zip
Qt-289c098c15a359c4e5d142a997230db5df554f8d.tar.gz
Qt-289c098c15a359c4e5d142a997230db5df554f8d.tar.bz2
Silence compile warning in the test
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp b/tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
index 2383767..2f6180f 100644
--- a/tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
+++ b/tests/auto/qnetworkdiskcache/tst_qnetworkdiskcache.cpp
@@ -76,7 +76,7 @@ private slots:
void oldCacheVersionFile_data();
void oldCacheVersionFile();
-
+
void sync();
};
@@ -486,7 +486,7 @@ public:
void run()
{
QByteArray longString = "Hello World, this is some long string, well not really that long";
- for (int i = 0; i < 10; ++i)
+ for (int j = 0; j < 10; ++j)
longString += longString;
QByteArray longString2 = "Help, I am stuck in an autotest!";
QUrl url(EXAMPLE_URL);