Reduce warnings with -Wshadow=compatible-local builds
authorDavid Rowley <[email protected]>
Sat, 20 Aug 2022 03:16:51 +0000 (15:16 +1200)
committerDavid Rowley <[email protected]>
Sat, 20 Aug 2022 03:16:51 +0000 (15:16 +1200)
commit92fce4e1eda9b24d73f583fbe9b58f4e03f097a4
tree4c5736e8722a19bd5a2c34ac6eb44e28665c290b
parentf01592f9157707c4de1f00a0e0dc5a7e8fa8f1d5
Reduce warnings with -Wshadow=compatible-local builds

In a similar effort to f01592f91, here we further reduce the warnings we
get about local variables being shadowed when building with
-Wshadow=compatible-local.  This small change reduces the overall number
of warnings by 36.

Discussion: https://postgr.es/m/CAApHDvqBBqF=wmV5azrO7h3VwpwQo+JFBQ+g=E6wVUhKcqR8gA@mail.gmail.com
src/test/regress/regress.c