diff options
-rw-r--r-- | src/nxt_rbtree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_rbtree.c b/src/nxt_rbtree.c index 66ff3665..4a0f9c22 100644 --- a/src/nxt_rbtree.c +++ b/src/nxt_rbtree.c @@ -399,7 +399,7 @@ nxt_rbtree_delete_fixup(nxt_rbtree_t *tree, nxt_rbtree_node_t *node) nxt_rbtree_left_rotate(parent); - break; + return; } else { sibling = parent->left; @@ -437,7 +437,7 @@ nxt_rbtree_delete_fixup(nxt_rbtree_t *tree, nxt_rbtree_node_t *node) nxt_rbtree_right_rotate(parent); - break; + return; } } |