From 14352e909713c2c5a33a074caeda2b7130ce08cc Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Mon, 8 Feb 2021 13:34:09 +0100 Subject: [PATCH] AuthDomainCache: init d_ttl --- pdns/auth-domaincache.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/auth-domaincache.hh b/pdns/auth-domaincache.hh index 8240e94238..403d26fd00 100644 --- a/pdns/auth-domaincache.hh +++ b/pdns/auth-domaincache.hh @@ -84,7 +84,7 @@ private: AtomicCounter *d_statnummiss; AtomicCounter *d_statnumentries; - time_t d_ttl; + time_t d_ttl{0}; }; extern AuthDomainCache g_domainCache; -- 2.47.2