summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-09-01 14:03:00 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-09-01 14:03:30 (GMT)
commit500de752ac6af943ced98cd685ed460457b3166d (patch)
treec2e7850628db75da87cf3f2e0e33cd1ae8a91e27 /src
parent6b779a021a9c3d334127a4c460ad7f780a97ddb9 (diff)
downloadQt-500de752ac6af943ced98cd685ed460457b3166d.zip
Qt-500de752ac6af943ced98cd685ed460457b3166d.tar.gz
Qt-500de752ac6af943ced98cd685ed460457b3166d.tar.bz2
Coverity: Small fix for QIODevice
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qiodevice.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp
index 75f8e54..ac9f532 100644
--- a/src/corelib/io/qiodevice.cpp
+++ b/src/corelib/io/qiodevice.cpp
@@ -122,7 +122,12 @@ void debugBinaryString(const char *data, qint64 maxlen)
*/
QIODevicePrivate::QIODevicePrivate()
: openMode(QIODevice::NotOpen), buffer(QIODEVICE_BUFFERSIZE),
- pos(0), devicePos(0), accessMode(Unset)
+ pos(0), devicePos(0)
+ , baseReadLineDataCalled(false)
+ , accessMode(Unset)
+#ifdef QT_NO_QOBJECT
+ , q_ptr(0)
+#endif
{
}