diff options
author | David Rowley <drowley@postgresql.org> | 2022-08-26 02:46:56 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2022-08-26 02:46:56 +1200 |
commit | d389487525bc1d543f27543ed2ff824d3a30f508 (patch) | |
tree | 20202e8ff11874fcefb2941e369877ede0e33a33 /src/backend/utils/adt/pgstatfuncs.c | |
parent | 3e0fff2e6888e39b0ad5cdfdb78bc1c2bb2b22c9 (diff) | |
download | postgresql-d389487525bc1d543f27543ed2ff824d3a30f508.tar.gz postgresql-d389487525bc1d543f27543ed2ff824d3a30f508.zip |
Small refactor to get rid of -Wshadow=compatible-local warning
Further reduce -Wshadow=compatible-local warnings by 1 by refactoring the
code in gistRelocateBuildBuffersOnSplit() to make use of
foreach_current_index() instead of manually incrementing a variable on
each loop.
Author: David Rowley
Discussion: https://postgr.es/m/CAApHDvpGZX-X=Bn4moyXgfFa0CdSUwoa04d3isit3=1qo8F8Bw@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions