pgsql: Avoid shadowing a variable in sync.c.
pgsql: Avoid shadowing a variable in sync.c.
От:
Thomas Munro <tmunro@postgresql.org>
Дата:
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 Reported-by: Tom Lane Reported-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/CAEudQArDrFyQ15Am3rgWBunGBVZFDb90onTS8SRiFAWHeiLiFA%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/57944910585750b52173a0f67c9e0e42639f1c0a Modified Files -------------- src/backend/storage/sync/sync.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)