Introduce pseudo-keyword ZEND_FALLTHROUGH

And use it instead of comments
This commit is contained in:
George Peter Banyard 2020-09-29 23:25:49 +01:00
parent 8a86fe11da
commit 5caaf40b43
No known key found for this signature in database
GPG key ID: D49A095D7329F6DC
88 changed files with 268 additions and 155 deletions

View file

@ -297,6 +297,7 @@ static int pgsql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *
pdo_pgsql_error_stmt_msg(stmt, 0, "HY093", "parameter was not defined");
return 0;
}
ZEND_FALLTHROUGH;
case PDO_PARAM_EVT_EXEC_POST:
case PDO_PARAM_EVT_FETCH_PRE:
case PDO_PARAM_EVT_FETCH_POST: