From 9aef5e242178a12ef39d1b139266e07162d2d6f4 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 12 Feb 2025 14:26:24 +0100 Subject: [PATCH] Coverity 1591086 Uninitialized scalar field --- pdns/dnsname.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2