Skip to content

Commit 6eecde3

Browse files
committed
Fix [-Wimplicit-fallthrough] warnings in PGSQL extension
1 parent b36d5f8 commit 6eecde3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/pgsql/pgsql.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4154,6 +4154,7 @@ static int php_pgsql_fd_cast(php_stream *stream, int cast_as, void **ret) /* {{{
41544154
*(php_socket_t *)ret = fd_number;
41554155
return SUCCESS;
41564156
}
4157+
fallthrough;
41574158
default:
41584159
return FAILURE;
41594160
}

0 commit comments

Comments
 (0)