summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-09-09 10:18:36 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-09-09 10:18:36 (GMT)
commit2e0ccea933efa503607f455450ce5d7374ecc395 (patch)
treeb24bcda5e57d847cddb0329f21787ca3072f5483
parent881b7547c2be0dc2b7e223175b8c43e4bda78991 (diff)
downloadQt-2e0ccea933efa503607f455450ce5d7374ecc395.zip
Qt-2e0ccea933efa503607f455450ce5d7374ecc395.tar.gz
Qt-2e0ccea933efa503607f455450ce5d7374ecc395.tar.bz2
Fix warning of unused variable on non-symbian
-rw-r--r--src/corelib/io/qfsfileengine_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfsfileengine_unix.cpp b/src/corelib/io/qfsfileengine_unix.cpp
index e4c6f09..c6e7300 100644
--- a/src/corelib/io/qfsfileengine_unix.cpp
+++ b/src/corelib/io/qfsfileengine_unix.cpp
@@ -491,8 +491,8 @@ qint64 QFSFileEnginePrivate::nativeReadLine(char *data, qint64 maxlen)
*/
qint64 QFSFileEnginePrivate::nativeWrite(const char *data, qint64 len)
{
- Q_Q(QFSFileEngine);
#ifdef Q_OS_SYMBIAN
+ Q_Q(QFSFileEngine);
if (symbianFile.SubSessionHandle()) {
if(len > KMaxTInt) {
//this check is more likely to catch a corrupt length, since it isn't possible to allocate 2GB buffers (yet..)