mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-01 22:48:25 +00:00
BUILD: spoe: use __fallthrough in spoe_handle_appctx()
This avoids two build warnings when preprocessing happens before compiling with gcc >= 7.
This commit is contained in:
parent
8de35935b0
commit
3064f52b15
@ -1997,7 +1997,7 @@ spoe_handle_appctx(struct appctx *appctx)
|
||||
goto switchstate;
|
||||
}
|
||||
appctx->st0 = SPOE_APPCTX_ST_PROCESSING;
|
||||
/* fall through */
|
||||
__fallthrough;
|
||||
|
||||
case SPOE_APPCTX_ST_PROCESSING:
|
||||
case SPOE_APPCTX_ST_SENDING_FRAG_NOTIFY:
|
||||
@ -2023,7 +2023,7 @@ spoe_handle_appctx(struct appctx *appctx)
|
||||
sc_shutw(sc);
|
||||
sc_shutr(sc);
|
||||
sc_ic(sc)->flags |= CF_READ_NULL;
|
||||
/* fall through */
|
||||
__fallthrough;
|
||||
|
||||
case SPOE_APPCTX_ST_END:
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user