From: Willy Tarreau Date: Mon, 14 Nov 2022 06:20:54 +0000 (+0100) Subject: BUILD: args: use __fallthrough in make_arg_list() X-Git-Tag: v2.7-dev9~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=266ce55109f84e7ab8613736b1f1e6097f1ac021;p=thirdparty%2Fhaproxy.git BUILD: args: use __fallthrough in make_arg_list() This avoids one build warning when preprocessing happens before compiling with gcc >= 7. --- diff --git a/src/arg.c b/src/arg.c index 039602a494..17f5ed061d 100644 --- a/src/arg.c +++ b/src/arg.c @@ -250,8 +250,8 @@ int make_arg_list(const char *in, int len, uint64_t mask, struct arg **argp, goto resolve_err; arg->unresolved = 1; new_al = arg_list_add(al, arg, pos); + __fallthrough; - /* fall through */ case ARGT_STR: /* all types that must be resolved are stored as strings * during the parsing. The caller must at one point resolve