Mercurial > hg > nginx
comparison src/http/ngx_http_variables.h @ 5156:306fb0cc0fba stable-1.2
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 29 Mar 2013 17:23:36 +0000 |
parents | d620f497c50f |
children | d2b2ff157da5 |
comparison
equal
deleted
inserted
replaced
5155:2bdb94e65a4c | 5156:306fb0cc0fba |
---|---|
55 | 55 |
56 ngx_int_t ngx_http_variable_unknown_header(ngx_http_variable_value_t *v, | 56 ngx_int_t ngx_http_variable_unknown_header(ngx_http_variable_value_t *v, |
57 ngx_str_t *var, ngx_list_part_t *part, size_t prefix); | 57 ngx_str_t *var, ngx_list_part_t *part, size_t prefix); |
58 | 58 |
59 | 59 |
60 #define ngx_http_clear_variable(r, index) r->variables0[index].text.data = NULL; | |
61 | |
62 | |
63 #if (NGX_PCRE) | 60 #if (NGX_PCRE) |
64 | 61 |
65 typedef struct { | 62 typedef struct { |
66 ngx_uint_t capture; | 63 ngx_uint_t capture; |
67 ngx_int_t index; | 64 ngx_int_t index; |