mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
Clearly mark switch cases that fall through.
This commit is contained in:
parent
119fc2d3d7
commit
1c004bebd8
@ -163,6 +163,7 @@ static void process_payloads(private_child_delete_t *this, message_t *message)
|
||||
protocol, spi);
|
||||
continue;
|
||||
}
|
||||
/* fall through */
|
||||
case CHILD_INSTALLED:
|
||||
if (!this->initiator)
|
||||
{ /* reestablish installed children if required */
|
||||
|
@ -1247,6 +1247,7 @@ pfkey_msg_parse(struct sadb_msg *pfkey_msg,
|
||||
pfkey_msg->sadb_msg_type,
|
||||
pfkey_v2_sadb_type_string(pfkey_msg->sadb_msg_type));
|
||||
}
|
||||
/* fall through */
|
||||
case SADB_ACQUIRE:
|
||||
case SADB_REGISTER:
|
||||
case SADB_EXPIRE:
|
||||
|
@ -542,6 +542,7 @@ bool assign_arg(kw_token_t token, kw_token_t first, kw_list_t *kw, char *base,
|
||||
}
|
||||
}
|
||||
}
|
||||
/* fall through */
|
||||
default:
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -1155,6 +1155,7 @@ int main(int argc, char **argv)
|
||||
|
||||
case OPT_STATUSALL: /* --statusall */
|
||||
msg.whack_statusall = TRUE;
|
||||
/* fall through */
|
||||
|
||||
case OPT_STATUS: /* --status */
|
||||
msg.whack_status = TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user