diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2016-11-04 19:12:19 +0300 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2016-11-04 19:12:19 +0300 |
| commit | 8e9f1df637160ec20990601976e140b8d3cffc0b (patch) | |
| tree | 2de2d24534200ed3138cb269367b92c40e8dc504 | |
| parent | f3093695b9e3069ef4c525cf24b5ddda8ae5f83a (diff) | |
| download | nginx-8e9f1df637160ec20990601976e140b8d3cffc0b.tar.gz nginx-8e9f1df637160ec20990601976e140b8d3cffc0b.tar.bz2 | |
Style: switch.
| -rw-r--r-- | src/http/ngx_http_core_module.c | 2 | ||||
| -rw-r--r-- | src/http/ngx_http_special_response.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 9da5d109e..4e37cec26 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -4827,8 +4827,6 @@ ngx_http_core_error_page(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) case NGX_HTTPS_CERT_ERROR: case NGX_HTTPS_NO_CERT: err->overwrite = NGX_HTTP_BAD_REQUEST; - default: - break; } } diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c index 7692f801f..d4c39ff65 100644 --- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -473,7 +473,6 @@ ngx_http_special_response_handler(ngx_http_request_t *r, ngx_int_t error) case NGX_HTTPS_NO_CERT: case NGX_HTTP_REQUEST_HEADER_TOO_LARGE: r->err_status = NGX_HTTP_BAD_REQUEST; - break; } } else { |
