Initialize wrappedUploadByteDevice as nullptr

Axivion warning: "Compiler-generated constructor leaves some fields
uninitialized."

Initialize the wrappedUploadByteDevice as nullptr just like the other
pointer member variables.

Task-number: QTBUG-125026
Pick-to: 6.7 6.5
Change-Id: If4e0a0e169b1256e8aca3596d26d5532fc950a4d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 804fae2e463c1be34dc1e40207e4e715e3e2f1d4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
bb10
Mate Barany 2024-07-22 15:53:42 +02:00 committed by Qt Cherry-pick Bot
parent bfd7fce59c
commit 305880fcda
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public:
QNetworkAccessBackend::SecurityFeatures m_securityFeatures;
QNetworkAccessBackend::IOFeatures m_ioFeatures;
std::shared_ptr<QNonContiguousByteDevice> uploadByteDevice;
QIODevice *wrappedUploadByteDevice;
QIODevice *wrappedUploadByteDevice = nullptr;
QNetworkReplyImplPrivate *m_reply = nullptr;
QNetworkAccessManagerPrivate *m_manager = nullptr;