pg_bsd_indent and -Wimplicit-fallthrough

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: pg_bsd_indent and -Wimplicit-fallthrough
Date: 2020-05-15 06:03:18
Message-ID: 20200515060318.GB79590@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I have just noticed that pg_bsd_indent complains since
-Wimplicit-fallthrough=3 has been added to the default set of switches
if available.

Something like the attached is fine to take care of those warnings,
but what's our current patching policy for this tool?

Thanks,
--
Michael

Attachment Content-Type Size
bsdindent-fallthru.patch text/x-diff 760 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2020-05-15 06:10:38 Re: documenting the backup manifest file format
Previous Message Michael Paquier 2020-05-15 05:47:45 Re: Problem with logical replication