]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Coverity 1591086 Uninitialized scalar field
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 12 Feb 2025 13:26:24 +0000 (14:26 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 14 Feb 2025 09:30:46 +0000 (10:30 +0100)
pdns/dnsname.hh

index 398c27c9d31560f5e7f31be6e35b9fc2943ef90d..86079bae32188a2e8198a1c99f52c0927e76309b 100644 (file)
@@ -335,7 +335,7 @@ struct SuffixMatchTree
   std::string d_name;
   mutable std::set<SuffixMatchTree, std::less<>> 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