From 3b72c41b8194d1f4776c698866c7a6f148412aca Mon Sep 17 00:00:00 2001 From: Renzo Peralta Date: Fri, 30 Dec 2016 12:25:34 +0100 Subject: [PATCH] unused variable botKind, tabletKind, mobileKind comment the line or use in ./configure [--with-cc-opt=-Werror=unused-variable] --- ngx_http_ua_parse_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_http_ua_parse_module.c b/ngx_http_ua_parse_module.c index a0ac737..99bc002 100755 --- a/ngx_http_ua_parse_module.c +++ b/ngx_http_ua_parse_module.c @@ -312,7 +312,7 @@ static ngx_int_t ngx_http_ua_parse_kind_variable(ngx_http_request_t *r, ngx_http_ua_parse_mod_conf_t *upcf; ngx_http_ua_parse_loc_conf_t *loc_conf; u_char *str; - ngx_regex_compile_t *mobileKind, *tabletKind, *botKind; + //ngx_regex_compile_t *mobileKind, *tabletKind, *botKind; upcf = ngx_http_get_module_main_conf(r, ngx_http_ua_parse_module); loc_conf = ngx_http_get_module_loc_conf(r, ngx_http_ua_parse_module);