mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
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:
parent
36a73439f9
commit
c5bc4ad24d
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user