[nginx] Unused macro and variable removed.

Sergey Kandaurov pluknet at nginx.com
Wed Oct 2 07:53:12 UTC 2013


details:   http://hg.nginx.org/nginx/rev/11599a3d0c7c
branches:  
changeset: 5409:11599a3d0c7c
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Wed Oct 02 11:51:04 2013 +0400
description:
Unused macro and variable removed.

The macro NGX_HTTP_DAV_COPY_BLOCK is not used since 8101d9101ed8 (0.8.9).
The variable ngx_accept_mutex_lock_file was never used.

diffstat:

 src/event/ngx_event.c                  |  1 -
 src/http/modules/ngx_http_dav_module.c |  2 --
 2 files changed, 0 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r d7a2729623d3 -r 11599a3d0c7c src/event/ngx_event.c
--- a/src/event/ngx_event.c	Wed Oct 02 11:50:56 2013 +0400
+++ b/src/event/ngx_event.c	Wed Oct 02 11:51:04 2013 +0400
@@ -56,7 +56,6 @@ ngx_uint_t            ngx_accept_events;
 ngx_uint_t            ngx_accept_mutex_held;
 ngx_msec_t            ngx_accept_mutex_delay;
 ngx_int_t             ngx_accept_disabled;
-ngx_file_t            ngx_accept_mutex_lock_file;
 
 
 #if (NGX_STAT_STUB)
diff -r d7a2729623d3 -r 11599a3d0c7c src/http/modules/ngx_http_dav_module.c
--- a/src/http/modules/ngx_http_dav_module.c	Wed Oct 02 11:50:56 2013 +0400
+++ b/src/http/modules/ngx_http_dav_module.c	Wed Oct 02 11:51:04 2013 +0400
@@ -10,8 +10,6 @@
 #include <ngx_http.h>
 
 
-#define NGX_HTTP_DAV_COPY_BLOCK      65536
-
 #define NGX_HTTP_DAV_OFF             2
 
 



More information about the nginx-devel mailing list