Skip to content

Commit 1f4d1d0

Browse files
committed
Fix [-Wimplicit-fallthrough] warnings in PDO PostgreSQL extension
1 parent c10fc5c commit 1f4d1d0

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_pgsql_error_stmt_msg(stmt, 0, "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)