From: Francesco Chemolli Date: Fri, 5 Apr 2019 14:41:58 +0000 (+0000) Subject: Made Coverity happier after f5e1794 (Peering for SslBump) (#387) X-Git-Tag: SQUID_5_0_1~107 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a75bf5d9aa8948ce6e2dc3d927106d0999c3c1fc;p=thirdparty%2Fsquid.git Made Coverity happier after f5e1794 (Peering for SslBump) (#387) CID 1444393: Uninitialized members (UNINIT_CTOR) From the current code point of view, this is a false positive because the private constructor which lacked initialization was only used from other constructors that do initialize httpStatus. --- diff --git a/src/errorpage.h b/src/errorpage.h index 9b7e6f2a1b..d8cf81d1ae 100644 --- a/src/errorpage.h +++ b/src/errorpage.h @@ -171,7 +171,7 @@ public: err_type type = ERR_NONE; int page_id = ERR_NONE; char *err_language = nullptr; - Http::StatusCode httpStatus; + Http::StatusCode httpStatus = Http::scNone; #if USE_AUTH Auth::UserRequest::Pointer auth_user_request; #endif