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:
Peter Eisentraut 2026-02-23 07:37:50 +01:00
parent 3a63b76571
commit 3f7a0e1e55

View file

@ -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: