mirror of
https://github.com/nginx/nginx.git
synced 2026-08-30 15:01:46 +00:00
fix building by icc8
This commit is contained in:
parent
6946ed75b6
commit
02677300d1
1 changed files with 0 additions and 7 deletions
|
|
@ -86,9 +86,6 @@ ngx_module_t ngx_http_degradation_module = {
|
|||
};
|
||||
|
||||
|
||||
static ngx_uint_t ngx_degraded;
|
||||
|
||||
|
||||
static ngx_int_t
|
||||
ngx_http_degradation_handler(ngx_http_request_t *r)
|
||||
{
|
||||
|
|
@ -139,8 +136,6 @@ ngx_http_degraded(ngx_http_request_t *r)
|
|||
/* unlock mutex */
|
||||
|
||||
if (sbrk_size >= dmcf->sbrk_size) {
|
||||
ngx_degraded = 1;
|
||||
|
||||
if (log) {
|
||||
ngx_log_error(NGX_LOG_NOTICE, r->connection->log, 0,
|
||||
"degradation sbrk:%uzM",
|
||||
|
|
@ -151,8 +146,6 @@ ngx_http_degraded(ngx_http_request_t *r)
|
|||
}
|
||||
}
|
||||
|
||||
ngx_degraded = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue