Re: Fix gcc warning in sync.c (usr/src/backend/storage/sync/sync.c)

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix gcc warning in sync.c (usr/src/backend/storage/sync/sync.c)
Date: 2022-07-21 18:01:43
Message-ID: 20220721180143.4ous77l5t7fficsd@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2022-Jul-15, Thomas Munro wrote:

> On Mon, Jul 11, 2022 at 9:45 PM Kyotaro Horiguchi
> <horikyota(dot)ntt(at)gmail(dot)com> wrote:

> > So, for starters, I compiled the whole tree with -Wshadow=local. and I
> > saw many warnings with it. At a glance all of them are reasonably
> > "fixed" but I don't think it is what we want...
>
> Wow, yeah.

Previous threads on this topic:

https://postgr.es/m/MN2PR18MB2927F7B5F690065E1194B258E35D0@MN2PR18MB2927.namprd18.prod.outlook.com
https://postgr.es/m/CAApHDvpqBR7u9yzW4yggjG=QfN=FZsc8Wo2ckokpQtif-+iQ2A@mail.gmail.com
https://postgr.es/m/877k1psmpf.fsf@mailbox.samurai.com

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
Thou shalt study thy libraries and strive not to reinvent them without
cause, that thy code may be short and readable and thy days pleasant
and productive. (7th Commandment for C Programmers)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2022-07-21 18:12:52 Re: Transparent column encryption
Previous Message Nathan Bossart 2022-07-21 17:56:41 Re: Allow placeholders in ALTER ROLE w/o superuser