summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy <qt-info@nokia.com>2009-06-04 06:44:35 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-06-07 02:22:42 (GMT)
commit82baac6103dd4fff69892b561ccbe019b6ced097 (patch)
treeededad6092fe3f71ca7a44795db51175a1f05fa4
parent944c91860a10314c5b6aa71a0be21af1da8f845f (diff)
downloadQt-82baac6103dd4fff69892b561ccbe019b6ced097.zip
Qt-82baac6103dd4fff69892b561ccbe019b6ced097.tar.gz
Qt-82baac6103dd4fff69892b561ccbe019b6ced097.tar.bz2
Silence compile warning in the test
Reviewed-by: TrustMe (cherry picked from commit 289c098c15a359c4e5d142a997230db5df554f8d)
-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 eade92f..f844c02 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);