diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-01 15:05:56 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-01 15:06:45 (GMT) |
commit | 4d403875d9d88d2acb0433511eb3f44e0dee4377 (patch) | |
tree | 0701d859e8c4d1ceca599799163e1f1efaf1ab49 /src | |
parent | 8e2213ea0bb3692783c03fe4da2df659c1859136 (diff) | |
download | Qt-4d403875d9d88d2acb0433511eb3f44e0dee4377.zip Qt-4d403875d9d88d2acb0433511eb3f44e0dee4377.tar.gz Qt-4d403875d9d88d2acb0433511eb3f44e0dee4377.tar.bz2 |
QtNetwork: More Coverity fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/network/access/qnetworkaccesscachebackend.cpp | 1 | ||||
-rw-r--r-- | src/network/socket/qhttpsocketengine.cpp | 1 | ||||
-rw-r--r-- | src/network/ssl/qsslsocket.cpp | 8 |
3 files changed, 9 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccesscachebackend.cpp b/src/network/access/qnetworkaccesscachebackend.cpp index df66c9d..2be10db 100644 --- a/src/network/access/qnetworkaccesscachebackend.cpp +++ b/src/network/access/qnetworkaccesscachebackend.cpp @@ -52,6 +52,7 @@ QT_BEGIN_NAMESPACE QNetworkAccessCacheBackend::QNetworkAccessCacheBackend() : QNetworkAccessBackend() + , device(0) { } diff --git a/src/network/socket/qhttpsocketengine.cpp b/src/network/socket/qhttpsocketengine.cpp index bb0915a..9ef92e1 100644 --- a/src/network/socket/qhttpsocketengine.cpp +++ b/src/network/socket/qhttpsocketengine.cpp @@ -752,6 +752,7 @@ QHttpSocketEnginePrivate::QHttpSocketEnginePrivate() , readNotificationPending(false) , writeNotificationPending(false) , connectionNotificationPending(false) + , pendingResponseData(0) { socket = 0; state = QHttpSocketEngine::None; diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp index 6858d40..0e0c347 100644 --- a/src/network/ssl/qsslsocket.cpp +++ b/src/network/ssl/qsslsocket.cpp @@ -1745,7 +1745,13 @@ qint64 QSslSocket::writeData(const char *data, qint64 len) \internal */ QSslSocketPrivate::QSslSocketPrivate() - : initialized(false), readyReadEmittedPointer(0), plainSocket(0) + : initialized(false) + , mode(QSslSocket::UnencryptedMode) + , autoStartHandshake(false) + , connectionEncrypted(false) + , ignoreAllSslErrors(false) + , readyReadEmittedPointer(0) + , plainSocket(0) { QSslConfigurationPrivate::deepCopyDefaultConfiguration(&configuration); } |