BIND 10 trac2726, updated. 5543f4c43126a4477807ab2c043907cab8f7b04b [2726] Initialize variable

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jun 12 09:51:30 UTC 2013


The branch, trac2726 has been updated
       via  5543f4c43126a4477807ab2c043907cab8f7b04b (commit)
      from  6e4e55d9952dd59962c161d2fc2552176f805244 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5543f4c43126a4477807ab2c043907cab8f7b04b
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Wed Jun 12 11:49:31 2013 +0200

    [2726] Initialize variable

-----------------------------------------------------------------------

Summary of changes:
 src/lib/datasrc/tests/database_unittest.cc |    3 +++
 1 file changed, 3 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/database_unittest.cc b/src/lib/datasrc/tests/database_unittest.cc
index 79cc2c3..e6a27b4 100644
--- a/src/lib/datasrc/tests/database_unittest.cc
+++ b/src/lib/datasrc/tests/database_unittest.cc
@@ -1137,6 +1137,9 @@ const char* TEST_NSEC3_RECORDS[][5] = {
 };
 
 DatabaseClientTest::DatabaseClientTest() :
+    // We need to initialize to something, and not being mock is safer
+    // until we know for sure.
+    is_mock_(false),
     zname_("example.org"), qname_("www.example.org"),
     qclass_(dns::RRClass::IN()),
     qtype_(dns::RRType::A()),



More information about the bind10-changes mailing list