| commit | 9d4de05be4b7a27fecc24a80c4feee987e8b531c | [log] [tgz] |
|---|---|---|
| author | Maxim Dounin <mdounin@mdounin.ru> | Thu Jun 26 03:34:19 2014 +0400 |
| committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Jun 26 03:34:19 2014 +0400 |
| tree | b3bdb5ed2173fe40fa82c4e1d46702529da4b95b | |
| parent | 25250a20d2827954d427222f1f4b1e26c8729d7f [diff] |
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).