]> granicus.if.org Git - pdns/commitdiff
Initialize DomainInfo members
authorAki Tuomi <cmouse@desteem.org>
Tue, 29 Sep 2015 18:55:55 +0000 (21:55 +0300)
committerAki Tuomi <cmouse@desteem.org>
Sat, 3 Oct 2015 22:01:12 +0000 (01:01 +0300)
fix cid#1030054

pdns/dnsbackend.hh

index 9c1de0b352b78c0f70ade08fda8a331d8143e61f..99ca927167f1089d8f62fa16379d765323a411d6 100644 (file)
@@ -46,7 +46,7 @@ class DNSPacket;
 class DNSBackend;  
 struct DomainInfo
 {
-  DomainInfo() : backend(0) {}
+  DomainInfo() : last_check(0), backend(NULL), id(0), notified_serial(0), serial(0), kind(DomainInfo::Native) {}
 
   DNSName zone;
   time_t last_check;