From: Otto Moerbeek Date: Wed, 12 Feb 2025 13:26:24 +0000 (+0100) Subject: Coverity 1591086 Uninitialized scalar field X-Git-Tag: dnsdist-2.0.0-alpha1~91^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9aef5e242178a12ef39d1b139266e07162d2d6f4;p=thirdparty%2Fpdns.git Coverity 1591086 Uninitialized scalar field --- diff --git a/pdns/dnsname.hh b/pdns/dnsname.hh index 398c27c9d3..86079bae32 100644 --- a/pdns/dnsname.hh +++ b/pdns/dnsname.hh @@ -335,7 +335,7 @@ struct SuffixMatchTree std::string d_name; mutable std::set> children; mutable bool endNode; - mutable T d_value; + mutable T d_value{}; /* this structure is used to do a lookup without allocating and copying a string, using C++14's heterogeneous lookups in ordered