]> git.kaiwu.me - nginx.git/commitdiff
fix building on platforms with non-supported atomic operations
authorIgor Sysoev <igor@sysoev.ru>
Wed, 14 Feb 2007 13:52:47 +0000 (13:52 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 14 Feb 2007 13:52:47 +0000 (13:52 +0000)
src/core/ngx_shmtx.h

index 7d4c09e3d348107302383f1f333fb997c3f608dc..e6fb6aa319e88c4447bb9bb38ab03879b08acef1 100644 (file)
@@ -58,6 +58,8 @@ ngx_shmtx_trylock(ngx_shmtx_t *mtx)
     }
 
     ngx_log_abort(err, ngx_trylock_fd_n " failed");
+
+    return 0;
 }