From bcd1dd7156478c595c86323f4d2e7df64b6aa6d2 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 22 May 2008 11:11:16 +0000 Subject: [PATCH] axe never used variables --- src/http/ngx_http.c | 3 --- src/http/ngx_http.h | 4 ---- 2 files changed, 7 deletions(-) diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 6be66715e..2a8f42712 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -41,9 +41,6 @@ static ngx_int_t ngx_http_init_listening(ngx_conf_t *cf, ngx_uint_t ngx_http_max_module; -ngx_uint_t ngx_http_total_requests; -uint64_t ngx_http_total_sent; - ngx_int_t (*ngx_http_top_header_filter) (ngx_http_request_t *r); ngx_int_t (*ngx_http_top_body_filter) (ngx_http_request_t *r, ngx_chain_t *ch); diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index 41b6c06b5..96de02adc 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -106,10 +106,6 @@ void ngx_http_block_reading(ngx_http_request_t *r); extern ngx_module_t ngx_http_module; -extern ngx_uint_t ngx_http_total_requests; -extern uint64_t ngx_http_total_sent; - - extern ngx_http_output_header_filter_pt ngx_http_top_header_filter; extern ngx_http_output_body_filter_pt ngx_http_top_body_filter;