Re: shadow variables - pg15 edition

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: shadow variables - pg15 edition
Дата
Msg-id CAApHDvpFy3Bve8q+gKTFygGd+vr4oUb7mf2ogDhju_bp=7r88g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: shadow variables - pg15 edition  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: shadow variables - pg15 edition  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Thu, 6 Oct 2022 at 11:50, David Rowley <dgrowleyml@gmail.com> wrote:
>
> On Thu, 6 Oct 2022 at 10:40, Andres Freund <andres@anarazel.de> wrote:
> > Your commit message said the last shadowed variable. But building with
> > -Wshadow=compatible-local triggers a bunch of warnings for me (see trimmed at
> > the end).  Looks like it "only" fixed it for src/, without optional
> > dependencies like gssapi and python.
>
> Well, that's embarrassing. You're right. I only fixed the ones I saw
> from running make in the base directory of the tree.  I'll set about
> fixing these nownow.

Here's a patch which (I think) fixes the ones I missed.

David

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Move backup-related code to xlogbackup.c/.h
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Add meson.build to version_stamp.pl