BUILD: args: use __fallthrough in make_arg_list()

This avoids one build warning when preprocessing happens before compiling
with gcc >= 7.
This commit is contained in:
Willy Tarreau 2022-11-14 07:20:54 +01:00
parent 7de8de0bf8
commit 266ce55109

View File

@ -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