Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: removed meaningless check from ngx_palloc_block().
The check became meaningless after refactoring in 2a92804f4109. With the loop currently in place, "current" can't be NULL, hence the check can be dropped. Additionally, the local variable "current" was removed to simplify code, and pool->current now used directly instead. Found by Coverity (CID 714236).
- Loading branch information