mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-11 05:48:41 +00:00
BUILD: check: use __fallthrough in __health_adjust()
This avoids one build warning when preprocessing happens before compiling with gcc >= 7.
This commit is contained in:
parent
80f9a63184
commit
36a73439f9
@ -686,7 +686,7 @@ void __health_adjust(struct server *s, short status)
|
||||
if (s->check.health > s->check.rise)
|
||||
s->check.health = s->check.rise + 1;
|
||||
|
||||
/* fall through */
|
||||
__fallthrough;
|
||||
|
||||
case HANA_ONERR_FAILCHK:
|
||||
/* simulate a failed health check */
|
||||
|
Loading…
Reference in New Issue
Block a user