Avoid shadowing a variable in sync.c.
authorThomas Munro <[email protected]>
Tue, 12 Jul 2022 04:17:36 +0000 (16:17 +1200)
committerThomas Munro <[email protected]>
Thu, 14 Jul 2022 12:06:32 +0000 (00:06 +1200)
commit57944910585750b52173a0f67c9e0e42639f1c0a
tree1f323798a1f29966a5d61583a8445d30fa5bab98
parent7bae3bbf62d63cdd49ae4ca4a851cef0cdbe6ab5
Avoid shadowing a variable in sync.c.

It was confusing to reuse the variable name 'entry' in two scopes.
Use distinct variable names.

Reported-by: Ranier Vilela <[email protected]>
Reported-by: Tom Lane <[email protected]>
Reported-by: Kyotaro Horiguchi <[email protected]>
Discussion: https://postgr.es/m/CAEudQArDrFyQ15Am3rgWBunGBVZFDb90onTS8SRiFAWHeiLiFA%40mail.gmail.com
src/backend/storage/sync/sync.c