changeset 6796:92ad1c92bcf9

Style: switch.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 04 Nov 2016 19:12:19 +0300
parents 1a917932db96
children 40c2f3e06d23
files src/http/ngx_http_core_module.c src/http/ngx_http_special_response.c
diffstat 2 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c	Thu Nov 03 17:10:29 2016 +0300
+++ b/src/http/ngx_http_core_module.c	Fri Nov 04 19:12:19 2016 +0300
@@ -4827,8 +4827,6 @@
                 case NGX_HTTPS_CERT_ERROR:
                 case NGX_HTTPS_NO_CERT:
                     err->overwrite = NGX_HTTP_BAD_REQUEST;
-                default:
-                    break;
             }
         }
 
--- a/src/http/ngx_http_special_response.c	Thu Nov 03 17:10:29 2016 +0300
+++ b/src/http/ngx_http_special_response.c	Fri Nov 04 19:12:19 2016 +0300
@@ -473,7 +473,6 @@
             case NGX_HTTPS_NO_CERT:
             case NGX_HTTP_REQUEST_HEADER_TOO_LARGE:
                 r->err_status = NGX_HTTP_BAD_REQUEST;
-                break;
         }
 
     } else {