Skip to content

Commit f40967b

Browse files
committed
gcc: delete useless variable and remove useless function.
1 parent 637ecdf commit f40967b

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/ngx_http_lua_var_module.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ ngx_int_t
9797
ngx_http_lua_var_ffi_upstream_response_time(ngx_http_request_t *r,
9898
unsigned char *buf, int type)
9999
{
100-
u_char *p;
101100
size_t len;
102101
ngx_uint_t i;
103102
ngx_msec_int_t ms, total_ms;
@@ -164,13 +163,3 @@ ngx_http_lua_var_ffi_scheme(ngx_http_request_t *r, ngx_str_t *scheme)
164163

165164
return NGX_OK;
166165
}
167-
168-
169-
/**
170-
* only for checking
171-
*/
172-
ngx_int_t
173-
ngx_http_lua_var_ffi_test()
174-
{
175-
return 0;
176-
}

0 commit comments

Comments
 (0)