Added missing "fall through" comments (ticket #1259).
Found by gcc7 (-Wimplicit-fallthrough).
Maxim Dounin
5 years ago
34 | 34 | switch (len) { |
35 | 35 | case 3: |
36 | 36 | h ^= data[2] << 16; |
37 | /* fall through */ | |
37 | 38 | case 2: |
38 | 39 | h ^= data[1] << 8; |
40 | /* fall through */ | |
39 | 41 | case 1: |
40 | 42 | h ^= data[0]; |
41 | 43 | h *= 0x5bd1e995; |
1395 | 1395 | goto done; |
1396 | 1396 | case '+': |
1397 | 1397 | r->plus_in_uri = 1; |
1398 | /* fall through */ | |
1398 | 1399 | default: |
1399 | 1400 | state = sw_usual; |
1400 | 1401 | *u++ = ch; |
1436 | 1437 | goto done; |
1437 | 1438 | case '+': |
1438 | 1439 | r->plus_in_uri = 1; |
1440 | /* fall through */ | |
1439 | 1441 | default: |
1440 | 1442 | state = sw_usual; |
1441 | 1443 | *u++ = ch; |
1483 | 1485 | goto done; |
1484 | 1486 | case '+': |
1485 | 1487 | r->plus_in_uri = 1; |
1488 | /* fall through */ | |
1486 | 1489 | default: |
1487 | 1490 | state = sw_usual; |
1488 | 1491 | *u++ = ch; |