diff options
author | Igor Sysoev <igor@sysoev.ru> | 2010-11-26 13:36:36 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2010-11-26 13:36:36 +0000 |
commit | 02677300d177eac9ddd92c4301dc8e9dd0f80a1c (patch) | |
tree | 8282bf97c5bb6a9dc7a16d0efe0c79b9b862eb6c /src | |
parent | 6946ed75b670947ae5309533114d55bf63110a0a (diff) | |
download | nginx-02677300d177eac9ddd92c4301dc8e9dd0f80a1c.tar.gz nginx-02677300d177eac9ddd92c4301dc8e9dd0f80a1c.zip |
fix building by icc8
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_degradation_module.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/http/modules/ngx_http_degradation_module.c b/src/http/modules/ngx_http_degradation_module.c index a35733f81..a5f83bb20 100644 --- a/src/http/modules/ngx_http_degradation_module.c +++ b/src/http/modules/ngx_http_degradation_module.c @@ -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; } |