mirror of
https://github.com/nginx/nginx.git
synced 2025-08-06 14:56:15 +08:00
Limit req: unbreak compilation with MSVC.
This commit is contained in:
parent
fbf7a0a48a
commit
11cc9dac44
@ -166,6 +166,10 @@ ngx_http_limit_req_handler(ngx_http_request_t *r)
|
|||||||
|
|
||||||
rc = NGX_DECLINED;
|
rc = NGX_DECLINED;
|
||||||
|
|
||||||
|
#if (NGX_SUPPRESS_WARN)
|
||||||
|
limit = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
for (n = 0; n < lrcf->limits.nelts; n++) {
|
for (n = 0; n < lrcf->limits.nelts; n++) {
|
||||||
|
|
||||||
limit = &limits[n];
|
limit = &limits[n];
|
||||||
|
Loading…
Reference in New Issue
Block a user