From: Mukund Sivaraman Date: Fri, 11 May 2012 06:51:45 +0000 (+0530) Subject: [1803] Remove redundant check X-Git-Tag: trac2351_base~226^2~159^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a31990d43d949e40408fbbdcf48a074efdfe772;p=thirdparty%2Fkea.git [1803] Remove redundant check --- diff --git a/src/lib/datasrc/tests/rbtree_unittest.cc b/src/lib/datasrc/tests/rbtree_unittest.cc index 4ef6b14d40..84e1745770 100644 --- a/src/lib/datasrc/tests/rbtree_unittest.cc +++ b/src/lib/datasrc/tests/rbtree_unittest.cc @@ -406,9 +406,7 @@ previousWalk(RBTree& rbtree, const RBNode* node, node = rbtree.previousNode(node_path); } - // We should have reached the end of the tree. - EXPECT_EQ(static_cast(NULL), node); - // This is all the same then + // We should have reached the start of the tree. EXPECT_EQ(static_cast(NULL), node); }