RE: [Proposal] Level4 Warnings show many shadow vars
Ranier VF <ranier_gyn@hotmail.com>
From: Ranier Vilela <ranier_gyn@hotmail.com>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2019-12-05T16:26:32Z
Lists: pgsql-hackers
Robert wrote: >Most of us don't develop on Windows, so changing warning levels on >Windows won't really affect what developers see on their own machines, >and thus probably doesn't have much value. Yes the report is from msvc 2017. Even so, there is some failure to review or compile in Unix environment, because there are so many cases. -Wshadow with GCC can show the alerts. >It might be a good idea to>try to clean up some/many cases of shadowed >variables, though. Interested in submitting the msvc 2017 report? Ranier Vilela
Commits
-
Remove shadow variables linked to RedoRecPtr in xlog.c
- 668365014d7b 11.7 landed
- 35c01529b8c9 12.2 landed
- 70116493a8e0 13.0 landed
-
Fix calculation for WAL segment recycling and removal
- d9fadbf13103 12.0 cited