diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-11-16 18:15:16 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-11-16 18:15:16 +0300 |
commit | d2ad7cb3d701bfa934d973eac6abefa4f9e402ce (patch) | |
tree | bc74851ce1bc91c16f6cd81722583e782292ce0f /src/core/ngx_rbtree.c | |
parent | 66fe3fdc102edb47f5e97bb00af6392129156f08 (diff) |
change variable name
Diffstat (limited to 'src/core/ngx_rbtree.c')
-rw-r--r-- | src/core/ngx_rbtree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_rbtree.c b/src/core/ngx_rbtree.c index 3c42be402..88673a264 100644 --- a/src/core/ngx_rbtree.c +++ b/src/core/ngx_rbtree.c @@ -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; } |