Skip to content

Commit

Permalink
ixfrdist: Default initialize the 'not implemented' metrics
Browse files Browse the repository at this point in the history
Reported by Coverity as CID 1504405.
  • Loading branch information
rgacogne committed Oct 31, 2023
1 parent 2af7068 commit 2a41d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/ixfrdist-stats.hh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class ixfrdistStats {
};

std::map<DNSName, perDomainStat> domainStats;
std::array<std::atomic<uint64_t>, 16> notimpStats;
std::array<std::atomic<uint64_t>, 16> notimpStats{};
programStats progStats;

std::map<DNSName, perDomainStat>::iterator getRegisteredDomain(const DNSName& d) {
Expand Down

0 comments on commit 2a41d06

Please sign in to comment.