SPEC_CFLAGS += $(call cc-nowarn,unused-parameter)
SPEC_CFLAGS += $(call cc-nowarn,clobbered)
SPEC_CFLAGS += $(call cc-nowarn,missing-field-initializers)
-SPEC_CFLAGS += $(call cc-nowarn,implicit-fallthrough)
SPEC_CFLAGS += $(call cc-nowarn,stringop-overflow)
SPEC_CFLAGS += $(call cc-nowarn,cast-function-type)
SPEC_CFLAGS += $(call cc-nowarn,string-plus-int)
case STD_OP_GT:
value++; /* gt = ge + 1 */
+ /* fall through */
case STD_OP_GE:
if (expr->pat.parse == pat_parse_int)
case STD_OP_LT:
value--; /* lt = le - 1 */
+ /* fall through */
case STD_OP_LE:
if (expr->pat.parse == pat_parse_int)
if (s->check.health > s->check.rise)
s->check.health = s->check.rise + 1;
- /* no break - fall through */
+ /* fall through */
case HANA_ONERR_FAILCHK:
/* simulate a failed health check */
return 0;
}
appctx->st2 = STAT_ST_LIST;
+ /* fall through */
case STAT_ST_LIST:
if (global.stats_fe) {
appctx->ctx.cli.p0 = &bind_conf->by_fe; /* store the latest list node dumped */
}
}
+ /* fall through */
default:
appctx->st2 = STAT_ST_FIN;
return 1;
case HLUA_E_ERR:
/* Display log. */
SEND_ERR(stream->be, "Lua converter '%s' returns an unknown error.\n", fcn->name);
+ /* fall through */
default:
return 0;
case HLUA_E_ERR:
/* Display log. */
SEND_ERR(smp->px, "Lua sample-fetch '%s' returns an unknown error.\n", fcn->name);
+ /* fall through */
default:
return 0;
appctx->ctx.peers.ptr = curpeer;
appctx->st0 = PEER_SESS_ST_SENDSUCCESS;
_HA_ATOMIC_ADD(&active_peers, 1);
- /* fall through */
}
+ /* fall through */
case PEER_SESS_ST_SENDSUCCESS: {
prev_state = appctx->st0;
if (!curpeer) {
/* switch to the waiting statuscode state */
appctx->st0 = PEER_SESS_ST_GETSTATUS;
- /* fall through */
}
+ /* fall through */
case PEER_SESS_ST_GETSTATUS: {
prev_state = appctx->st0;
if (!curpeer) {
}
_HA_ATOMIC_ADD(&connected_peers, 1);
appctx->st0 = PEER_SESS_ST_WAITMSG;
- /* fall through */
}
+ /* fall through */
case PEER_SESS_ST_WAITMSG: {
uint32_t msg_len = 0;
char *msg_cur = trash.area;
goto out;
appctx->st0 = PEER_SESS_ST_END;
prev_state = appctx->st0;
- /* fall through */
}
+ /* fall through */
case PEER_SESS_ST_END: {
if (prev_state == PEER_SESS_ST_WAITMSG)
_HA_ATOMIC_SUB(&connected_peers, 1);
case SI_ST_TAR:
/* Note that none of these states may happen with applets */
si->state = SI_ST_DIS;
+ /* fall through */
default:
si->flags &= ~SI_FL_NOLINGER;
si_rx_shut_blk(si);
/* Note that none of these states may happen with applets */
si_applet_release(si);
si->state = SI_ST_DIS;
+ /* fall through */
default:
si->flags &= ~SI_FL_NOLINGER;
si_rx_shut_blk(si);
case TCPCHK_ACT_CONNECT:
if (!chk->comment && comment)
chk->comment = strdup(comment);
- /* fall though */
+ /* fall through */
case TCPCHK_ACT_ACTION_KW:
free(comment);
comment = NULL;