aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_files.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2014-06-26 03:34:19 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2014-06-26 03:34:19 +0400
commit9d4de05be4b7a27fecc24a80c4feee987e8b531c (patch)
treeb3bdb5ed2173fe40fa82c4e1d46702529da4b95b /src/os/win32/ngx_files.h
parent25250a20d2827954d427222f1f4b1e26c8729d7f (diff)
downloadnginx-9d4de05be4b7a27fecc24a80c4feee987e8b531c.tar.gz
nginx-9d4de05be4b7a27fecc24a80c4feee987e8b531c.zip
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).
Diffstat (limited to 'src/os/win32/ngx_files.h')
0 files changed, 0 insertions, 0 deletions