commit | 266ce55109f84e7ab8613736b1f1e6097f1ac021 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 14 07:20:54 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 14 11:14:02 2022 +0100 |
tree | 9e6561cf4659e5064f3af3606459e7e974a0760d | |
parent | 7de8de0bf80b2aee51801bbdcd336ea1a8d0815d [diff] [blame] |
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 039602a..17f5ed0 100644 --- a/src/arg.c +++ b/src/arg.c
@@ -250,8 +250,8 @@ 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