mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
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:
parent
7de8de0bf8
commit
266ce55109
@ -250,8 +250,8 @@ int make_arg_list(const char *in, int len, uint64_t mask, struct arg **argp,
|
|||||||
goto resolve_err;
|
goto resolve_err;
|
||||||
arg->unresolved = 1;
|
arg->unresolved = 1;
|
||||||
new_al = arg_list_add(al, arg, pos);
|
new_al = arg_list_add(al, arg, pos);
|
||||||
|
__fallthrough;
|
||||||
|
|
||||||
/* fall through */
|
|
||||||
case ARGT_STR:
|
case ARGT_STR:
|
||||||
/* all types that must be resolved are stored as strings
|
/* all types that must be resolved are stored as strings
|
||||||
* during the parsing. The caller must at one point resolve
|
* during the parsing. The caller must at one point resolve
|
||||||
|
Loading…
x
Reference in New Issue
Block a user