aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_shmtx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_shmtx.h b/src/core/ngx_shmtx.h
index 7d4c09e3d..e6fb6aa31 100644
--- a/src/core/ngx_shmtx.h
+++ b/src/core/ngx_shmtx.h
@@ -58,6 +58,8 @@ ngx_shmtx_trylock(ngx_shmtx_t *mtx)
}
ngx_log_abort(err, ngx_trylock_fd_n " failed");
+
+ return 0;
}