BUILD: http_act: use __fallthrough in parse_http_del_header()

This avoids one build warning when preprocessing happens before compiling
with gcc >= 7.
This commit is contained in:
Willy Tarreau 2022-11-14 07:32:04 +01:00
parent 36a73439f9
commit c5bc4ad24d
1 changed files with 1 additions and 1 deletions

View File

@ -1733,7 +1733,7 @@ static enum act_parse_ret parse_http_del_header(const char **args, int *orig_arg
case PAT_MATCH_REG:
if (!(rule->arg.http.re = regex_comp(rule->arg.http.str.ptr, 1, 1, err)))
return ACT_RET_PRS_ERR;
/* fall through */
__fallthrough;
case PAT_MATCH_STR:
case PAT_MATCH_BEG:
case PAT_MATCH_END: