Klaus Demo nginx / 8449f75
Added missing "fall through" comments (ticket #1259). Found by gcc7 (-Wimplicit-fallthrough). Maxim Dounin 5 years ago
3 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3434 switch (len) {
3535 case 3:
3636 h ^= data[2] << 16;
37 /* fall through */
3738 case 2:
3839 h ^= data[1] << 8;
40 /* fall through */
3941 case 1:
4042 h ^= data[0];
4143 h *= 0x5bd1e995;
13951395 goto done;
13961396 case '+':
13971397 r->plus_in_uri = 1;
1398 /* fall through */
13981399 default:
13991400 state = sw_usual;
14001401 *u++ = ch;
14361437 goto done;
14371438 case '+':
14381439 r->plus_in_uri = 1;
1440 /* fall through */
14391441 default:
14401442 state = sw_usual;
14411443 *u++ = ch;
14831485 goto done;
14841486 case '+':
14851487 r->plus_in_uri = 1;
1488 /* fall through */
14861489 default:
14871490 state = sw_usual;
14881491 *u++ = ch;
412412 break;
413413 }
414414 ngx_debug_quit = 1;
415 /* fall through */
415416 case ngx_signal_value(NGX_SHUTDOWN_SIGNAL):
416417 ngx_quit = 1;
417418 action = ", shutting down";