Browse Source

remove useless logic

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac397@3487 e5f2f494-b856-4b98-b285-d166d9295462
Han Feng 14 years ago
parent
commit
c28a86981a
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/bin/auth/rbt_datasrc.cc

+ 0 - 3
src/bin/auth/rbt_datasrc.cc

@@ -425,9 +425,6 @@ RBTree::eraseNode(RBNode *node) {
     if (y->color_ == BLACK)
         deleteRebalance(x);
 
-    if (y == root_)
-        root_ = NULLNODE;
-
     y->left_ = NULL;
     y->right_ = NULL;
     delete y;