# HG changeset patch # User Igor Sysoev # Date 1290778596 0 # Node ID 147d8a86dd023d89144de3a8f4d6706bd425410a # Parent 279083731ec65302c3aaee28c351ad8e527ce466 fix building by icc8 diff --git a/src/http/modules/ngx_http_degradation_module.c b/src/http/modules/ngx_http_degradation_module.c --- 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_modul }; -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; }