commit | 5c8b52f80a4aac08fd8fff0270effb0176ddc6bc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 14 07:02:00 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 14 11:14:02 2022 +0100 |
tree | da17166507d55ef3fef3414d4ce45b4f5c6c2dc7 | |
parent | 7ed0597ce893feccc8c2f0513a7a37d258239a93 [diff] |
BUILD: quic: use __fallthrough in quic_connect_server() This avoids one build warning when preprocessing happens before compiling with gcc >= 7.
diff --git a/src/proto_quic.c b/src/proto_quic.c index d4a5a13..7267b67 100644 --- a/src/proto_quic.c +++ b/src/proto_quic.c
@@ -367,7 +367,7 @@ switch (src->opts & CO_SRC_TPROXY_MASK) { case CO_SRC_TPROXY_CLI: conn_set_private(conn); - /* fall through */ + __fallthrough; case CO_SRC_TPROXY_ADDR: flags = 3; break;