summaryrefslogtreecommitdiff
path: root/ace/RB_Tree.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-04-09 06:26:23 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-04-09 06:26:23 +0000
commit81144df11ece7874cc938e2efccab9a05e2dd5a9 (patch)
treefa12ccb820964bc09cb7ff1defcac1f37d5c65de /ace/RB_Tree.cpp
parent3a0bc473640a6cfc4409799800613ff64779c52c (diff)
downloadATCD-81144df11ece7874cc938e2efccab9a05e2dd5a9.tar.gz
ChangeLogTag:Fri Apr 8 23:24:33 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace/RB_Tree.cpp')
-rw-r--r--ace/RB_Tree.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/ace/RB_Tree.cpp b/ace/RB_Tree.cpp
index fcef3243700..fc3a5df7473 100644
--- a/ace/RB_Tree.cpp
+++ b/ace/RB_Tree.cpp
@@ -846,11 +846,9 @@ ACE_RB_Tree<EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK>::remove_i (const EXT_ID &k,
i = z->item ();
return -1 == this->remove_i (z) ? -1 : 1;
}
- else
- {
- // No matching node was found: return 0.
- return 0;
- }
+
+ // No matching node was found: return 0.
+ return 0;
}
/// Recursive function to dump the state of an object.