Changeset 6994:f38647c651a8 in nginx


Ignore:
Timestamp:
04/27/17 13:57:18 (18 hours ago)
Author:
Maxim Dounin <mdounin@…>
Branch:
default
Tags:
tip
Message:

Added missing "fall through" comments (ticket #1259).

Found by gcc7 (-Wimplicit-fallthrough).

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/core/ngx_murmurhash.c

    r3891 r6994  
    3636    case 3:
    3737        h ^= data[2] << 16;
     38        /* fall through */
    3839    case 2:
    3940        h ^= data[1] << 8;
     41        /* fall through */
    4042    case 1:
    4143        h ^= data[0];
  • src/http/ngx_http_parse.c

    r6993 r6994  
    13971397            case '+':
    13981398                r->plus_in_uri = 1;
     1399                /* fall through */
    13991400            default:
    14001401                state = sw_usual;
     
    14381439            case '+':
    14391440                r->plus_in_uri = 1;
     1441                /* fall through */
    14401442            default:
    14411443                state = sw_usual;
     
    14851487            case '+':
    14861488                r->plus_in_uri = 1;
     1489                /* fall through */
    14871490            default:
    14881491                state = sw_usual;
  • src/os/unix/ngx_process.c

    r6985 r6994  
    414414            }
    415415            ngx_debug_quit = 1;
     416            /* fall through */
    416417        case ngx_signal_value(NGX_SHUTDOWN_SIGNAL):
    417418            ngx_quit = 1;
Note: See TracChangeset for help on using the changeset viewer.