change variable name

This commit is contained in:
Igor Sysoev 2006-11-16 15:15:16 +00:00
parent 0d0d918f9d
commit fb1c2492f2

View file

@ -147,7 +147,7 @@ void
ngx_rbtree_delete(ngx_thread_volatile ngx_rbtree_t *tree,
ngx_rbtree_node_t *node)
{
ngx_int_t is_red;
ngx_int_t red;
ngx_rbtree_node_t **root, *sentinel, *subst, *temp, *w;
/* a binary tree delete */
@ -186,7 +186,7 @@ ngx_rbtree_delete(ngx_thread_volatile ngx_rbtree_t *tree,
return;
}
is_red = ngx_rbt_is_red(subst);
red = ngx_rbt_is_red(subst);
if (subst == subst->parent->left) {
subst->parent->left = temp;
@ -239,7 +239,7 @@ ngx_rbtree_delete(ngx_thread_volatile ngx_rbtree_t *tree,
node->key = 0;
}
if (is_red) {
if (red) {
return;
}