]> git.kaiwu.me - nginx.git/commit
Core: removed dead code in ngx_rbtree_delete().
authorVladimir Homutov <vl@nginx.com>
Mon, 30 Sep 2019 13:39:20 +0000 (16:39 +0300)
committerVladimir Homutov <vl@nginx.com>
Mon, 30 Sep 2019 13:39:20 +0000 (16:39 +0300)
commitf7999fe6893fec58332357c12eeb02f39589b894
treec9d391ab82e365b8a2014d1a295bf2b76c4e1730
parent201062c83f1d053b36fe376d3837da5f1feb451b
Core: removed dead code in ngx_rbtree_delete().

The result of ngx_rbtree_min() is always a node with the left child equal to
sentinel, thus the check is unnecessary.
src/core/ngx_rbtree.c