BUILD: tcpcheck: use __fallthrough in check_proxy_tcpcheck()

This avoids 1 build warning when preprocessing happens before compiling
with gcc >= 7.
This commit is contained in:
Willy Tarreau 2022-11-14 07:10:33 +01:00
parent 469847945c
commit f3f60763fa

View File

@ -3757,7 +3757,7 @@ static int check_proxy_tcpcheck(struct proxy *px)
next = get_next_tcpcheck_rule(&px->tcpcheck_rules, chk);
if (next && next->action == TCPCHK_ACT_SEND)
chk->connect.options |= TCPCHK_OPT_HAS_DATA;
/* fall through */
__fallthrough;
case TCPCHK_ACT_ACTION_KW:
ha_free(&comment);
break;