Clearly mark switch cases that fall through.
This commit is contained in:
@@ -163,6 +163,7 @@ static void process_payloads(private_child_delete_t *this, message_t *message)
|
|||||||
protocol, spi);
|
protocol, spi);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
/* fall through */
|
||||||
case CHILD_INSTALLED:
|
case CHILD_INSTALLED:
|
||||||
if (!this->initiator)
|
if (!this->initiator)
|
||||||
{ /* reestablish installed children if required */
|
{ /* reestablish installed children if required */
|
||||||
|
|||||||
@@ -1247,6 +1247,7 @@ pfkey_msg_parse(struct sadb_msg *pfkey_msg,
|
|||||||
pfkey_msg->sadb_msg_type,
|
pfkey_msg->sadb_msg_type,
|
||||||
pfkey_v2_sadb_type_string(pfkey_msg->sadb_msg_type));
|
pfkey_v2_sadb_type_string(pfkey_msg->sadb_msg_type));
|
||||||
}
|
}
|
||||||
|
/* fall through */
|
||||||
case SADB_ACQUIRE:
|
case SADB_ACQUIRE:
|
||||||
case SADB_REGISTER:
|
case SADB_REGISTER:
|
||||||
case SADB_EXPIRE:
|
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:
|
default:
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1155,6 +1155,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
case OPT_STATUSALL: /* --statusall */
|
case OPT_STATUSALL: /* --statusall */
|
||||||
msg.whack_statusall = TRUE;
|
msg.whack_statusall = TRUE;
|
||||||
|
/* fall through */
|
||||||
|
|
||||||
case OPT_STATUS: /* --status */
|
case OPT_STATUS: /* --status */
|
||||||
msg.whack_status = TRUE;
|
msg.whack_status = TRUE;
|
||||||
|
|||||||
Reference in New Issue
Block a user