mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-18 19:56:59 +00: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:
|
case PAT_MATCH_REG:
|
||||||
if (!(rule->arg.http.re = regex_comp(rule->arg.http.str.ptr, 1, 1, err)))
|
if (!(rule->arg.http.re = regex_comp(rule->arg.http.str.ptr, 1, 1, err)))
|
||||||
return ACT_RET_PRS_ERR;
|
return ACT_RET_PRS_ERR;
|
||||||
/* fall through */
|
__fallthrough;
|
||||||
case PAT_MATCH_STR:
|
case PAT_MATCH_STR:
|
||||||
case PAT_MATCH_BEG:
|
case PAT_MATCH_BEG:
|
||||||
case PAT_MATCH_END:
|
case PAT_MATCH_END:
|
||||||
|
Loading…
Reference in New Issue
Block a user