[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-committers
Subject:    pgsql: Fix some shadow variables in src/backend/replication/
From:       Michael Paquier <michael () paquier ! xyz>
Date:       2023-08-30 23:08:49
Message-ID: E1qbUIq-001jrp-VQ () gemulon ! postgresql ! org
[Download RAW message or body]

[Attachment #2 (text/plain)]

Fix some shadow variables in src/backend/replication/

The code is able to compile already without warnings under
-Wshadow=compatible-local, which is itself already enabled in the tree,
and the ones fixed here showed up with the more restrictive -Wshadow.

There are more of these that we may want to look at, and the ones fixed
here made the code confusing.

Author: Peter Smith
Discussion: https://postgr.es/m/CAHut+PuR0y4ofNOxi691VTVWmBfScHV9AaBMGSpeh8+DKp81Nw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b5934bfd6071fed3a38cea0cfaa93afda63d9c0c

Modified Files
--------------
src/backend/replication/logical/logicalfuncs.c  | 4 ++--
src/backend/replication/logical/reorderbuffer.c | 6 +++---
src/backend/replication/walsender.c             | 8 ++++----
3 files changed, 9 insertions(+), 9 deletions(-)



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic