summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-05-25 09:36:11 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-05-25 09:36:11 (GMT)
commit9edac0287250ff6da9b6998412dba6a432899518 (patch)
tree5351e9626113b0d4e5290720af5ae906f42df316
parent30ed4ee8cee66bcf3ddf001118ba4905a8bfe644 (diff)
downloadQt-9edac0287250ff6da9b6998412dba6a432899518.zip
Qt-9edac0287250ff6da9b6998412dba6a432899518.tar.gz
Qt-9edac0287250ff6da9b6998412dba6a432899518.tar.bz2
Warnings fixed on MSVC
simply added Q_UNUSED for parameters that weren't used in a function
-rw-r--r--src/corelib/io/qnoncontiguousbytedevice.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/io/qnoncontiguousbytedevice.cpp b/src/corelib/io/qnoncontiguousbytedevice.cpp
index 6233fde..f50acdb 100644
--- a/src/corelib/io/qnoncontiguousbytedevice.cpp
+++ b/src/corelib/io/qnoncontiguousbytedevice.cpp
@@ -458,7 +458,9 @@ qint64 QByteDeviceWrappingIoDevice::readData( char * data, qint64 maxSize)
qint64 QByteDeviceWrappingIoDevice::writeData( const char* data, qint64 maxSize)
{
- return -1;
+ Q_UNUSED(data);
+ Q_UNUSED(maxSize);
+ return -1;
}
/*!