public inbox for [email protected]
help / color / mirror / Atom feedFrom: Peter Eisentraut <[email protected]>
To: [email protected]
Subject: pgsql: Fix additional fallthrough warnings from clang
Date: Mon, 23 Feb 2026 07:00:57 +0000
Message-ID: <[email protected]> (raw)
Fix additional fallthrough warnings from clang
Clang warns if falling through to a case or default label that is
immediately followed by break, but GCC does
not (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91432). (MSVC also
warns about the equivalent code in C++.)
This is in preparation for enabling fallthrough warnings on Clang.
Reviewed-by: Jelte Fennema-Nio <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/76a8efcd-925a-4eaf-bdd1-d972cd1a32ff%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3a63b76571ba253e2784ba34377cdcbdb8ad6796
Modified Files
--------------
contrib/isn/isn.c | 1 +
contrib/pg_overexplain/pg_overexplain.c | 1 +
src/backend/access/transam/xlogrecovery.c | 1 +
src/backend/replication/logical/decode.c | 3 +--
src/backend/tcop/dest.c | 1 +
src/backend/utils/mb/conversion_procs/euc_tw_and_big5/big5.c | 1 +
src/pl/plpgsql/src/pl_comp.c | 1 +
src/tools/pg_bsd_indent/indent.c | 1 +
8 files changed, 8 insertions(+), 2 deletions(-)
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: Fix additional fallthrough warnings from clang
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox