diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-01 14:03:00 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-01 14:03:30 (GMT) |
commit | 500de752ac6af943ced98cd685ed460457b3166d (patch) | |
tree | c2e7850628db75da87cf3f2e0e33cd1ae8a91e27 /src/corelib | |
parent | 6b779a021a9c3d334127a4c460ad7f780a97ddb9 (diff) | |
download | Qt-500de752ac6af943ced98cd685ed460457b3166d.zip Qt-500de752ac6af943ced98cd685ed460457b3166d.tar.gz Qt-500de752ac6af943ced98cd685ed460457b3166d.tar.bz2 |
Coverity: Small fix for QIODevice
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/io/qiodevice.cpp | 7 |
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 { } |