Mercurial > hg > nginx
comparison src/os/unix/ngx_process.c @ 4315:424a1ac6af43
Added (void) as we intentionally ignore returned values.
Requested by Igor Sysoev.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 28 Nov 2011 11:01:42 +0000 |
parents | 45272aab5eea |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
4314:4a07bad0e2c5 | 4315:424a1ac6af43 |
---|---|
553 * unlock the accept mutex if the abnormally exited process | 553 * unlock the accept mutex if the abnormally exited process |
554 * held it | 554 * held it |
555 */ | 555 */ |
556 | 556 |
557 if (ngx_accept_mutex_ptr) { | 557 if (ngx_accept_mutex_ptr) { |
558 ngx_shmtx_force_unlock(&ngx_accept_mutex, pid); | 558 (void) ngx_shmtx_force_unlock(&ngx_accept_mutex, pid); |
559 } | 559 } |
560 | 560 |
561 /* | 561 /* |
562 * unlock shared memory mutexes if held by the abnormally exited | 562 * unlock shared memory mutexes if held by the abnormally exited |
563 * process | 563 * process |