mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-10 09:21:35 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue