return 1;
ctx->px_st = STAT_PX_ST_TH;
- /* fall through */
+ __fallthrough;
case STAT_PX_ST_TH:
if (ctx->flags & STAT_FMT_HTML) {
}
ctx->px_st = STAT_PX_ST_FE;
- /* fall through */
+ __fallthrough;
case STAT_PX_ST_FE:
/* print the frontend */
ctx->obj2 = px->conf.listeners.n;
ctx->px_st = STAT_PX_ST_LI;
- /* fall through */
+ __fallthrough;
case STAT_PX_ST_LI:
/* obj2 points to listeners list as initialized above */
ctx->obj2 = px->srv; /* may be NULL */
ctx->px_st = STAT_PX_ST_SV;
- /* fall through */
+ __fallthrough;
case STAT_PX_ST_SV:
/* obj2 points to servers list as initialized above.
} /* for sv */
ctx->px_st = STAT_PX_ST_BE;
- /* fall through */
+ __fallthrough;
case STAT_PX_ST_BE:
/* print the backend */
}
ctx->px_st = STAT_PX_ST_END;
- /* fall through */
+ __fallthrough;
case STAT_PX_ST_END:
if (ctx->flags & STAT_FMT_HTML) {
}
ctx->px_st = STAT_PX_ST_FIN;
- /* fall through */
+ __fallthrough;
case STAT_PX_ST_FIN:
return 1;
switch (ctx->state) {
case STAT_STATE_INIT:
ctx->state = STAT_STATE_HEAD; /* let's start producing data */
- /* fall through */
+ __fallthrough;
case STAT_STATE_HEAD:
if (ctx->flags & STAT_FMT_HTML)
return 1;
}
ctx->state = STAT_STATE_INFO;
- /* fall through */
+ __fallthrough;
case STAT_STATE_INFO:
if (ctx->flags & STAT_FMT_HTML) {
ctx->px_st = STAT_PX_ST_INIT;
ctx->state = STAT_STATE_LIST;
- /* fall through */
+ __fallthrough;
case STAT_STATE_LIST:
switch (domain) {
}
ctx->state = STAT_STATE_END;
- /* fall through */
+ __fallthrough;
case STAT_STATE_END:
if (ctx->flags & (STAT_FMT_HTML|STAT_FMT_JSON)) {
}
ctx->state = STAT_STATE_FIN;
- /* fall through */
+ __fallthrough;
case STAT_STATE_FIN:
return 1;