From 8207e65a2ddd152cf68aa1a78f2a04ed41152a96 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Fri, 3 Feb 2023 17:32:40 +0100 Subject: [PATCH] prefer member init done via clang-tidy and use of modernize-use-default-member-init Signed-off-by: Matthieu Gallien --- src/cmd/cmd.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cmd/cmd.cpp b/src/cmd/cmd.cpp index cdc583911..3826a681b 100644 --- a/src/cmd/cmd.cpp +++ b/src/cmd/cmd.cpp @@ -137,8 +137,6 @@ class HttpCredentialsText : public HttpCredentials public: HttpCredentialsText(const QString &user, const QString &password) : HttpCredentials(user, password) - , // FIXME: not working with client certs yet (qknight) - _sslTrusted(false) { } @@ -161,7 +159,8 @@ public: } private: - bool _sslTrusted; + // FIXME: not working with client certs yet (qknight) + bool _sslTrusted{false}; }; #endif /* TOKEN_AUTH_ONLY */ -- 2.30.2