BIND 10 master, updated. 047cdc39aa335b778d4ba9ecdacbd859d612807c Fix warning from recent GCC.

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Apr 13 09:56:10 UTC 2011


The branch, master has been updated
       via  047cdc39aa335b778d4ba9ecdacbd859d612807c (commit)
      from  e23c4b1e90ba1127a5b7eaef4add6f3b68fbc6fa (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 047cdc39aa335b778d4ba9ecdacbd859d612807c
Author: Shane Kerr <shane at isc.org>
Date:   Wed Apr 13 11:55:28 2011 +0200

    Fix warning from recent GCC.

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

Summary of changes:
 src/lib/datasrc/tests/rbtree_unittest.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/rbtree_unittest.cc b/src/lib/datasrc/tests/rbtree_unittest.cc
index dd1b7fe..b26a22b 100644
--- a/src/lib/datasrc/tests/rbtree_unittest.cc
+++ b/src/lib/datasrc/tests/rbtree_unittest.cc
@@ -398,7 +398,7 @@ TEST_F(RBTreeTest, getLastComparedNode) {
     EXPECT_EQ(static_cast<void*>(NULL), chain.getLastComparedNode());
     chain.clear();
 
-    const RBNode<int>* expected_node;
+    const RBNode<int>* expected_node = NULL;
 
     // Exact match case.  The returned node should be last compared.
     EXPECT_EQ(RBTree<int>::EXACTMATCH,




More information about the bind10-changes mailing list