]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1803] Remove redundant check
authorMukund Sivaraman <muks@isc.org>
Fri, 11 May 2012 06:51:45 +0000 (12:21 +0530)
committerMukund Sivaraman <muks@isc.org>
Fri, 11 May 2012 06:51:45 +0000 (12:21 +0530)
src/lib/datasrc/tests/rbtree_unittest.cc

index 4ef6b14d40c04f73cdde03a54abcd9f49bc8cd08..84e17457704227648841eca8a4a50e43b4177ae5 100644 (file)
@@ -406,9 +406,7 @@ previousWalk(RBTree<int>& rbtree, const RBNode<int>* node,
         node = rbtree.previousNode(node_path);
     }
 
-    // We should have reached the end of the tree.
-    EXPECT_EQ(static_cast<void*>(NULL), node);
-    // This is all the same then
+    // We should have reached the start of the tree.
     EXPECT_EQ(static_cast<void*>(NULL), node);
 }