From 16f95639a15cdfd052abbbdded2ee0265509b408 Mon Sep 17 00:00:00 2001 From: Mate Barany Date: Thu, 4 Jul 2024 13:45:57 +0200 Subject: [PATCH] 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 (cherry picked from commit 6c755dcdd921431b26d22d499ebebb2a0b7de566) Reviewed-by: Qt Cherry-pick Bot --- src/network/access/qhttpnetworkrequest_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/access/qhttpnetworkrequest_p.h b/src/network/access/qhttpnetworkrequest_p.h index 44440204023..aac4ebcfb67 100644 --- a/src/network/access/qhttpnetworkrequest_p.h +++ b/src/network/access/qhttpnetworkrequest_p.h @@ -152,7 +152,7 @@ public: bool http2Direct; bool h2cAllowed = false; bool withCredentials; - bool ssl; + bool ssl = false; bool preConnect; bool needResendWithCredentials = false; int redirectCount;