mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-18 03:26:55 +00:00
BUILD: quic: use __fallthrough in quic_connect_server()
This avoids one build warning when preprocessing happens before compiling with gcc >= 7.
This commit is contained in:
parent
7ed0597ce8
commit
5c8b52f80a
@ -367,7 +367,7 @@ int quic_connect_server(struct connection *conn, int flags)
|
|||||||
switch (src->opts & CO_SRC_TPROXY_MASK) {
|
switch (src->opts & CO_SRC_TPROXY_MASK) {
|
||||||
case CO_SRC_TPROXY_CLI:
|
case CO_SRC_TPROXY_CLI:
|
||||||
conn_set_private(conn);
|
conn_set_private(conn);
|
||||||
/* fall through */
|
__fallthrough;
|
||||||
case CO_SRC_TPROXY_ADDR:
|
case CO_SRC_TPROXY_ADDR:
|
||||||
flags = 3;
|
flags = 3;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user