]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3919] Added some missing initializations
authorFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 11:47:12 +0000 (13:47 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 11:47:12 +0000 (13:47 +0200)
src/lib/dns/rdata/generic/naptr_35.cc
src/lib/dns/rdataclass.cc

index 78bf472b4246aa5933ad52603a706888601c67c1..0de1a096efaa47896d1cd396a8b8c1f2fd8de293 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011, 2015  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -34,7 +34,7 @@ using namespace isc::dns;
 
 class NAPTRImpl {
 public:
-    NAPTRImpl() : replacement(".") {}
+    NAPTRImpl() : order(0, preference(0), replacement(".") {}
 
     NAPTRImpl(InputBuffer& buffer, size_t rdata_len) : replacement(".") {
         if (rdata_len < 4 || buffer.getLength() - buffer.getPosition() < 4) {
index 71b71c0fb4c6268b945fd71040d664e25893358b..e075b40cc5d7127bc97a8b969227eef08bde4787 100644 (file)
@@ -5,7 +5,7 @@
 ///////////////
 ///////////////
 
-// Copyright (C) 2010-2014  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2010-2015  Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -2565,7 +2565,7 @@ namespace generic {
 
 class NAPTRImpl {
 public:
-    NAPTRImpl() : replacement(".") {}
+    NAPTRImpl() : order(0, preference(0), replacement(".") {}
 
     NAPTRImpl(InputBuffer& buffer, size_t rdata_len) : replacement(".") {
         if (rdata_len < 4 || buffer.getLength() - buffer.getPosition() < 4) {