diff 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
line wrap: on
line diff
--- a/src/os/unix/ngx_process.c
+++ b/src/os/unix/ngx_process.c
@@ -555,7 +555,7 @@ ngx_unlock_mutexes(ngx_pid_t pid)
      */
 
     if (ngx_accept_mutex_ptr) {
-        ngx_shmtx_force_unlock(&ngx_accept_mutex, pid);
+        (void) ngx_shmtx_force_unlock(&ngx_accept_mutex, pid);
     }
 
     /*