diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2013-03-29 17:23:36 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-03-29 17:23:36 +0000 |
commit | 2191f68d43a872967d6ab33fe1cc368590355982 (patch) | |
tree | fb919a4a144e7476319d7c11071f4a537aceea9e | |
parent | 57ab08fd4736de3a6fb143d054091cb5f1f225f0 (diff) | |
download | nginx-2191f68d43a872967d6ab33fe1cc368590355982.tar.gz |
Merge of r5109, r5128: removed unused prototype and macro.
*) Removed unused prototype of ngx_http_find_server_conf().
This function prototype and its implementation was added in r90,
but the implementation was removed in r97.
*) Removed unused ngx_http_clear_variable() macro.
-rw-r--r-- | src/http/ngx_http.h | 1 | ||||
-rw-r--r-- | src/http/ngx_http_variables.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index f152006a0..d278d8346 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -94,7 +94,6 @@ void ngx_http_split_args(ngx_http_request_t *r, ngx_str_t *uri, ngx_str_t *args); -ngx_int_t ngx_http_find_server_conf(ngx_http_request_t *r); void ngx_http_update_location_config(ngx_http_request_t *r); void ngx_http_handler(ngx_http_request_t *r); void ngx_http_run_posted_requests(ngx_connection_t *c); diff --git a/src/http/ngx_http_variables.h b/src/http/ngx_http_variables.h index d2bb4db88..829fab31e 100644 --- a/src/http/ngx_http_variables.h +++ b/src/http/ngx_http_variables.h @@ -57,9 +57,6 @@ ngx_int_t ngx_http_variable_unknown_header(ngx_http_variable_value_t *v, ngx_str_t *var, ngx_list_part_t *part, size_t prefix); -#define ngx_http_clear_variable(r, index) r->variables0[index].text.data = NULL; - - #if (NGX_PCRE) typedef struct { |