Re: Cleanup shadows variable warnings, round 1 - Mailing list pgsql-hackers

From Peter Smith
Subject Re: Cleanup shadows variable warnings, round 1
Date
Msg-id CAHut+PsP+5ov_=zhsd+yGunCCfTSM0qXe-a0VHwGyzQOe-SYxQ@mail.gmail.com
Whole thread Raw
In response to Re: Cleanup shadows variable warnings, round 1  (Álvaro Herrera <alvherre@kurilemu.de>)
Responses Re: Cleanup shadows variable warnings, round 1
List pgsql-hackers
On Thu, Dec 4, 2025 at 1:36 AM Álvaro Herrera <alvherre@kurilemu.de> wrote:
>
> On 2025-Dec-03, Chao Li wrote:
>
> > Unfortunately that doesn’t work for my compiler (clang on MacOS),
> > that’s why I renamed “I" to “u”.
>
> I think you're missing his point.  He's suggesting to change not only
> this variable, but also the other uses of "i" in this function.
>

Exactly. I should have posted the larger diff, as you did. Thanks for
clarifying.

======
Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: Proposal: Add a callback data parameter to GetNamedDSMSegment
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Add enable_copy_program GUC to control COPY PROGRAM