]> git.kaiwu.me - nginx.git/commitdiff
fix building without PCRE introduced in r2023
authorIgor Sysoev <igor@sysoev.ru>
Sat, 7 Jun 2008 12:08:38 +0000 (12:08 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sat, 7 Jun 2008 12:08:38 +0000 (12:08 +0000)
src/http/ngx_http.c

index e8e059c228cdd54471d125f6986f308555ad5490..91bc3e64fc68dd251a28b85f9bad9e90a2f7d6a6 100644 (file)
@@ -1300,14 +1300,14 @@ ngx_http_optimize_servers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf,
     ngx_array_t *in_ports)
 {
     ngx_int_t                  rc;
-    ngx_uint_t                 s, p, a, i;
+    ngx_uint_t                 s, p, a;
     ngx_hash_init_t            hash;
     ngx_http_server_name_t    *name;
     ngx_hash_keys_arrays_t     ha;
     ngx_http_conf_in_port_t   *in_port;
     ngx_http_conf_in_addr_t   *in_addr;
 #if (NGX_PCRE)
-    ngx_uint_t                 regex;
+    ngx_uint_t                 regex, i;
 #endif
 
     in_port = in_ports->elts;