Initialize the ssl variable in QHttpNetworkRequestPrivate

Address the "A constructor must initialize all data members of the
class" warning.

Found by an Axivion Scan.

Task-number: QTBUG-125026
Pick-to: 6.7 6.5
Change-Id: If78cde6a9c3771eb87e62729523b848f2efc2d83
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 6c755dcdd921431b26d22d499ebebb2a0b7de566)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Mate Barany 2024-07-04 13:45:57 +02:00 committed by Qt Cherry-pick Bot
parent 04787eef80
commit 16f95639a1

View File

@ -152,7 +152,7 @@ public:
bool http2Direct;
bool h2cAllowed = false;
bool withCredentials;
bool ssl;
bool ssl = false;
bool preConnect;
bool needResendWithCredentials = false;
int redirectCount;