aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_rbtree.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2017-03-07 11:47:58 +0300
committerRuslan Ermilov <ru@nginx.com>2017-03-07 11:47:58 +0300
commit422e0f8689e5cc08aa9023d4a67b6d9ce28a79e5 (patch)
treebefb69d84e32e500afcefb99dc9765cf64ad98c9 /src/core/ngx_rbtree.c
parentfbe9759e4b8d0a80863a4000a724111b0741a9ab (diff)
downloadnginx-422e0f8689e5cc08aa9023d4a67b6d9ce28a79e5.tar.gz
nginx-422e0f8689e5cc08aa9023d4a67b6d9ce28a79e5.zip
Removed casts not needed after 1f513d7f1b45.
Diffstat (limited to 'src/core/ngx_rbtree.c')
-rw-r--r--src/core/ngx_rbtree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_rbtree.c b/src/core/ngx_rbtree.c
index 6c66f4061..331254c6f 100644
--- a/src/core/ngx_rbtree.c
+++ b/src/core/ngx_rbtree.c
@@ -28,7 +28,7 @@ ngx_rbtree_insert(ngx_rbtree_t *tree, ngx_rbtree_node_t *node)
/* a binary tree insert */
- root = (ngx_rbtree_node_t **) &tree->root;
+ root = &tree->root;
sentinel = tree->sentinel;
if (*root == sentinel) {
@@ -161,7 +161,7 @@ ngx_rbtree_delete(ngx_rbtree_t *tree, ngx_rbtree_node_t *node)
/* a binary tree delete */
- root = (ngx_rbtree_node_t **) &tree->root;
+ root = &tree->root;
sentinel = tree->sentinel;
if (node->left == sentinel) {