Skip to content

Commit f4afb56

Browse files
committed
Fix [-Wimplicit-fallthrough] warnings in PDO PostgreSQL extension
1 parent 83f4510 commit f4afb56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/pdo_pgsql/pgsql_statement.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ static int pgsql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *
297297
pdo_raise_impl_error(stmt->dbh, stmt, "HY093", "parameter was not defined");
298298
return 0;
299299
}
300+
fallthrough;
300301
case PDO_PARAM_EVT_EXEC_POST:
301302
case PDO_PARAM_EVT_FETCH_PRE:
302303
case PDO_PARAM_EVT_FETCH_POST:

0 commit comments

Comments
 (0)