From: Peter Eisentraut Date: Thu, 19 Feb 2026 07:41:03 +0000 (+0100) Subject: Remove useless fallthrough annotation X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c3fbb3fef1e805d39b7bae576a3b2da4f9e1858;p=thirdparty%2Fpostgresql.git 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 Discussion: https://www.postgresql.org/message-id/flat/76a8efcd-925a-4eaf-bdd1-d972cd1a32ff%40eisentraut.org --- diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index d6133bfebc6..70c7645582e 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -4229,7 +4229,6 @@ bgworker_should_start_now(BgWorkerStartTime start_time) case PM_INIT: if (start_time == BgWorkerStart_PostmasterStart) return true; - /* fall through */ } return false;