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:
Willy Tarreau 2022-11-14 07:31:36 +01:00
parent 80f9a63184
commit 36a73439f9

View File

@ -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 */