[nginx] Removed casts not needed after 1f513d7f1b45.
Ruslan Ermilov
ru at nginx.com
Tue Mar 7 08:59:44 UTC 2017
details: http://hg.nginx.org/nginx/rev/b3c5b4312667
branches:
changeset: 6925:b3c5b4312667
user: Ruslan Ermilov <ru at nginx.com>
date: Tue Mar 07 11:47:58 2017 +0300
description:
Removed casts not needed after 1f513d7f1b45.
diffstat:
src/core/ngx_rbtree.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 03735fef08da -r b3c5b4312667 src/core/ngx_rbtree.c
--- a/src/core/ngx_rbtree.c Mon Mar 06 17:56:23 2017 +0300
+++ b/src/core/ngx_rbtree.c Tue Mar 07 11:47:58 2017 +0300
@@ -28,7 +28,7 @@ ngx_rbtree_insert(ngx_rbtree_t *tree, ng
/* 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, ng
/* a binary tree delete */
- root = (ngx_rbtree_node_t **) &tree->root;
+ root = &tree->root;
sentinel = tree->sentinel;
if (node->left == sentinel) {
More information about the nginx-devel
mailing list