BIND 10 trac2092_2, updated. 8cbfc95d3ce3a5d15acfe603ea8816a7dc04febe [2092] Remove some initializers
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Jul 24 22:24:59 UTC 2012
The branch, trac2092_2 has been updated
via 8cbfc95d3ce3a5d15acfe603ea8816a7dc04febe (commit)
from 07d6576e7fce402cb5a65e7dd4b938347e7f95c1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8cbfc95d3ce3a5d15acfe603ea8816a7dc04febe
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Jul 25 03:51:11 2012 +0530
[2092] Remove some initializers
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/rbtree.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/rbtree.h b/src/lib/datasrc/rbtree.h
index 6af67d5..c3e9fd3 100644
--- a/src/lib/datasrc/rbtree.h
+++ b/src/lib/datasrc/rbtree.h
@@ -1313,7 +1313,7 @@ RBTree<T>::previousNode(RBTreeNodeChain<T>& node_path) const {
// Go a level down and as much right there as possible
current = current->getDown();
if (current != NULL) {
- const RBNode<T>* right(NULL);
+ const RBNode<T>* right;
while ((right = current->getRight()) != NULL) {
current = right;
}
@@ -1396,7 +1396,7 @@ RBTree<T>::previousNode(RBTreeNodeChain<T>& node_path) const {
node = down;
if (node != NULL) {
// And get as much to the right of the tree as possible
- const RBNode<T>* right(NULL);
+ const RBNode<T>* right;
while ((right = node->getRight()) != NULL) {
node = right;
}
More information about the bind10-changes
mailing list