[svn] commit: r3487 - /branches/trac397/src/bin/auth/rbt_datasrc.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Nov 8 06:57:01 UTC 2010


Author: hanfeng
Date: Mon Nov  8 06:57:01 2010
New Revision: 3487

Log:
remove useless logic

Modified:
    branches/trac397/src/bin/auth/rbt_datasrc.cc

Modified: branches/trac397/src/bin/auth/rbt_datasrc.cc
==============================================================================
--- branches/trac397/src/bin/auth/rbt_datasrc.cc (original)
+++ branches/trac397/src/bin/auth/rbt_datasrc.cc Mon Nov  8 06:57:01 2010
@@ -425,9 +425,6 @@
     if (y->color_ == BLACK)
         deleteRebalance(x);
 
-    if (y == root_)
-        root_ = NULLNODE;
-
     y->left_ = NULL;
     y->right_ = NULL;
     delete y;




More information about the bind10-changes mailing list