Browse Source

[1803] Remove redundant check

Mukund Sivaraman 13 years ago
parent
commit
0a31990d43
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/lib/datasrc/tests/rbtree_unittest.cc

+ 1 - 3
src/lib/datasrc/tests/rbtree_unittest.cc

@@ -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);
 }