Re: pg_bsd_indent and -Wimplicit-fallthrough - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: pg_bsd_indent and -Wimplicit-fallthrough
Date
Msg-id CAOBaU_YxQantZbG1n+N6gOVuAhEOF+Pt+PZ5YkV7+KzqacWvKw@mail.gmail.com
Whole thread Raw
In response to pg_bsd_indent and -Wimplicit-fallthrough  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pg_bsd_indent and -Wimplicit-fallthrough
List pgsql-hackers
On Fri, May 15, 2020 at 8:03 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> 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.

Oh Indeed.

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

The patch looks good to me.  It looks like we already have custom
patches, so +1 to applying it.



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: documenting the backup manifest file format
Next
From: Fujii Masao
Date:
Subject: Re: PG 13 release notes, first draft