Mercurial > hg > nginx
comparison src/os/unix/ngx_process.c @ 7136:d409ab1e8e4d stable-1.12
Added missing "fall through" comments (ticket #1259).
Found by gcc7 (-Wimplicit-fallthrough).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 27 Apr 2017 16:57:18 +0300 |
parents | e54c336d95aa |
children |
comparison
equal
deleted
inserted
replaced
7135:5e1112ac82d5 | 7136:d409ab1e8e4d |
---|---|
403 case ngx_signal_value(NGX_NOACCEPT_SIGNAL): | 403 case ngx_signal_value(NGX_NOACCEPT_SIGNAL): |
404 if (!ngx_daemonized) { | 404 if (!ngx_daemonized) { |
405 break; | 405 break; |
406 } | 406 } |
407 ngx_debug_quit = 1; | 407 ngx_debug_quit = 1; |
408 /* fall through */ | |
408 case ngx_signal_value(NGX_SHUTDOWN_SIGNAL): | 409 case ngx_signal_value(NGX_SHUTDOWN_SIGNAL): |
409 ngx_quit = 1; | 410 ngx_quit = 1; |
410 action = ", shutting down"; | 411 action = ", shutting down"; |
411 break; | 412 break; |
412 | 413 |