diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-04-05 15:49:41 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-04-05 15:49:41 +0300 |
commit | d15b4ca90639d0e6a5caab9ec905e49228072faf (patch) | |
tree | b929a2fed7cc997a5e18e42e74858c09d8258306 /src/nxt_port_memory.c | |
parent | 49bd3a21e0f995c895b445c0566227661418c2bc (diff) | |
download | unit-d15b4ca90639d0e6a5caab9ec905e49228072faf.tar.gz unit-d15b4ca90639d0e6a5caab9ec905e49228072faf.tar.bz2 |
Style.
Diffstat (limited to 'src/nxt_port_memory.c')
-rw-r--r-- | src/nxt_port_memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_port_memory.c b/src/nxt_port_memory.c index 208c8b13..5f730030 100644 --- a/src/nxt_port_memory.c +++ b/src/nxt_port_memory.c @@ -20,7 +20,7 @@ nxt_inline void nxt_port_mmap_handler_use(nxt_port_mmap_handler_t *mmap_handler, int i) { - int c; + int c; c = nxt_atomic_fetch_add(&mmap_handler->use_count, i); @@ -888,7 +888,7 @@ nxt_port_mmap_get_method(nxt_task_t *task, nxt_port_t *port, nxt_buf_t *b) m = NXT_PORT_METHOD_ANY; - for (; b != NULL; b = b->next) { + for (/* void */; b != NULL; b = b->next) { if (nxt_buf_used_size(b) == 0) { /* empty buffers does not affect method */ continue; |