BUILD: acl: use __fallthrough in parse_acl_expr()

This avoids two build warnings when preprocessing happens before compiling
with gcc >= 7.
This commit is contained in:
Willy Tarreau 2022-11-14 07:21:22 +01:00
parent 266ce55109
commit 8de35935b0

View File

@ -601,7 +601,7 @@ struct acl_expr *parse_acl_expr(const char **args, char **err, struct arg_list *
case STD_OP_GT:
value++; /* gt = ge + 1 */
/* fall through */
__fallthrough;
case STD_OP_GE:
if (expr->pat.parse == pat_parse_int)
@ -614,7 +614,7 @@ struct acl_expr *parse_acl_expr(const char **args, char **err, struct arg_list *
case STD_OP_LT:
value--; /* lt = le - 1 */
/* fall through */
__fallthrough;
case STD_OP_LE:
if (expr->pat.parse == pat_parse_int)