Removed casts not needed after 1f513d7f1b45.

This commit is contained in:
Ruslan Ermilov 2017-03-07 11:47:58 +03:00
parent fbe9759e4b
commit 422e0f8689

View File

@ -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) {