Klaus Demo nginx / a4484b1
Added (void) as we intentionally ignore returned values. Requested by Igor Sysoev. Maxim Dounin 10 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
9696 #if (NGX_HAVE_POSIX_SEM)
9797
9898 if (mtx->semaphore) {
99 ngx_atomic_fetch_add(mtx->wait, 1);
99 (void) ngx_atomic_fetch_add(mtx->wait, 1);
100100
101101 if (*mtx->lock == 0 && ngx_atomic_cmp_set(mtx->lock, 0, ngx_pid)) {
102102 return;
554554 */
555555
556556 if (ngx_accept_mutex_ptr) {
557 ngx_shmtx_force_unlock(&ngx_accept_mutex, pid);
557 (void) ngx_shmtx_force_unlock(&ngx_accept_mutex, pid);
558558 }
559559
560560 /*