From: Remi Gacogne Date: Tue, 31 Oct 2023 09:32:23 +0000 (+0100) Subject: ixfrdist: Default initialize the 'not implemented' metrics X-Git-Tag: rec-5.0.0-beta1~22^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a41d0691ee7ca544af4c5d70757382c80cd3f8a;p=thirdparty%2Fpdns.git ixfrdist: Default initialize the 'not implemented' metrics Reported by Coverity as CID 1504405. --- diff --git a/pdns/ixfrdist-stats.hh b/pdns/ixfrdist-stats.hh index f9dbe828a6..69f48f9458 100644 --- a/pdns/ixfrdist-stats.hh +++ b/pdns/ixfrdist-stats.hh @@ -99,7 +99,7 @@ class ixfrdistStats { }; std::map domainStats; - std::array, 16> notimpStats; + std::array, 16> notimpStats{}; programStats progStats; std::map::iterator getRegisteredDomain(const DNSName& d) {