mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06: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;
|
||||
|
||||
#if (NGX_SUPPRESS_WARN)
|
||||
limit = NULL;
|
||||
#endif
|
||||
|
||||
for (n = 0; n < lrcf->limits.nelts; n++) {
|
||||
|
||||
limit = &limits[n];
|
||||
|
Loading…
Reference in New Issue
Block a user