BIND 10 master, updated. ca25d3c2eba98609d20cd646da422d6297e4f818 Fix cppcheck complain

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Nov 26 15:26:38 UTC 2012


The branch, master has been updated
       via  ca25d3c2eba98609d20cd646da422d6297e4f818 (commit)
      from  d561219a0e93d046cdb63166fa775dc20c563d9e (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 ca25d3c2eba98609d20cd646da422d6297e4f818
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon Nov 26 16:18:47 2012 +0100

    Fix cppcheck complain
    
    Cppcheck complained there's an uninitialized variable in constructor.
    This is mostly a false positive (the value is not used before being
    assigned), but fix it anyway to make it silent.

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

Summary of changes:
 src/lib/dns/tests/master_loader_callbacks_test.cc |    1 +
 1 file changed, 1 insertion(+)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/tests/master_loader_callbacks_test.cc b/src/lib/dns/tests/master_loader_callbacks_test.cc
index 7ed9afe..aafbe24 100644
--- a/src/lib/dns/tests/master_loader_callbacks_test.cc
+++ b/src/lib/dns/tests/master_loader_callbacks_test.cc
@@ -31,6 +31,7 @@ using namespace isc::dns;
 class MasterLoaderCallbacksTest : public ::testing::Test {
 protected:
     MasterLoaderCallbacksTest() :
+        last_was_error_(false), // Not needed, but then cppcheck complains
         issue_called_(false),
         rrset_(new RRset(Name("example.org"), RRClass::IN(), RRType::A(),
                          RRTTL(3600))),



More information about the bind10-changes mailing list