Fix error with goto detected by ICC
@@ -580,6 +580,7 @@ RBTREE_REMOVE_NODE(struct RBTREE_TYPENAME* target, struct RBTREE_NODE* N)
}
// If N has two children, we use replacement R: in-order successor
+ {
struct RBTREE_NODE* R = NULL;
if (N->right != NULL && N->left != NULL)
R = rbtree_leftmost_loop(N->right);
@@ -591,6 +592,7 @@ RBTREE_REMOVE_NODE(struct RBTREE_TYPENAME* target, struct RBTREE_NODE* N)
DEBUG_RBTREE("after:\n");
// RBTREE_PRINT(target);
+ }
end:
target->size--;
