]> granicus.if.org Git - pdns/commitdiff
default init last_changed in dnsresource records, finally shutting up loads of valgri...
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 30 Dec 2010 21:22:52 +0000 (21:22 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 30 Dec 2010 21:22:52 +0000 (21:22 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1776 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dns.hh

index d37edc09eef02de1d83a0d0aa608edb0c0201c0c..107f328545c53200aa01d9a1b021a361cc8123cd 100644 (file)
@@ -63,7 +63,7 @@ public:
 class DNSResourceRecord
 {
 public:
-  DNSResourceRecord() : qclass(1), priority(0), d_place(ANSWER) {};
+  DNSResourceRecord() : qclass(1), priority(0), last_modified(0), d_place(ANSWER) {};
   ~DNSResourceRecord(){};
 
   string serialize() const;