Reduce warnings with -Wshadow=compatible-local builds
David Rowley <drowley@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/regress.c | modified | +8 −8 |
Discussion
- shadow variables - pg15 edition 56 messages · 2022-08-17 → 2022-10-12