mirror of
https://github.com/postgres/postgres.git
synced 2026-07-15 20:52:53 -04:00
Fix additional fallthrough warning
Clang warns about this one, but GCC did not. (Apparently a bug in
GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122796)
Apparently, the previous "fall through" comment was introduced
manually in commit f76892c9ff without the compiler actually asking
for it.
This is in preparation for enabling fallthrough warnings on Clang.
Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/76a8efcd-925a-4eaf-bdd1-d972cd1a32ff%40eisentraut.org
This commit is contained in:
parent
3a63b76571
commit
3f7a0e1e55
1 changed files with 1 additions and 1 deletions
|
|
@ -340,7 +340,7 @@ reindex_one_database(ConnParams *cparams, ReindexType type,
|
|||
{
|
||||
case REINDEX_SCHEMA:
|
||||
Assert(user_list != NULL);
|
||||
/* fall through */
|
||||
pg_fallthrough;
|
||||
|
||||
case REINDEX_DATABASE:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue