]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Coverity 1030062 Uninitialized scalar field
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 29 Apr 2022 07:45:56 +0000 (09:45 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 29 Apr 2022 07:52:11 +0000 (09:52 +0200)
pdns/anadns.hh

index 8c2e168890bb2e48758c907c4a5887086f73d0c7..8b68db8488cb010a42ba5c432b0c05529ed9fdc2 100644 (file)
@@ -69,8 +69,8 @@ struct QuestionIdentifier
   ComboAddress d_source, d_dest;
 
   DNSName d_qname;
-  uint16_t d_qtype;
-  uint16_t d_id;
+  uint16_t d_qtype{0};
+  uint16_t d_id{0};
 };
 
 inline ostream& operator<<(ostream &s, const QuestionIdentifier& qi)