pgsql: Remove useless fallthrough annotation - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove useless fallthrough annotation
Date
Msg-id E1vsz4f-0006X9-1K@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove useless fallthrough annotation

A fallthrough attribute after the last case is a constraint violation
in C23, and clang warns about it (not about this comment, but if we
changed it to an attribute).  Remove it.  (There was apparently never
anything after this to fall through to, even in the first commit
da07a1e8565.)

Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/76a8efcd-925a-4eaf-bdd1-d972cd1a32ff%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c3fbb3fef1e805d39b7bae576a3b2da4f9e1858

Modified Files
--------------
src/backend/postmaster/postmaster.c | 1 -
1 file changed, 1 deletion(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Sanitize some WAL-logging buffer handling in GIN and GiST code
Next
From: Fujii Masao
Date:
Subject: pgsql: Log checkpoint request flags in checkpoint completion messages.