Narrow the scope of a local variable.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 Jan 2021 20:55:01 +0000 (15:55 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 Jan 2021 20:55:01 +0000 (15:55 -0500)
commit3fd80c728dc36fbd250ca3019c2f5fa2567f1a75
tree5b2a84a2df6a1e7b2d8f4f5d5674f5702e18560e
parenta6cf3df4ebdcbc7857910a67f259705645383e9f
Narrow the scope of a local variable.

This is better style and more symmetrical with the other if-branch.
This likely should have been included in 9de77b545 (which created
the opportunity), but it was overlooked.

Japin Li

Discussion: https://postgr.es/m/MEYP282MB16699FA4A7CD57EB250E871FB6A40@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
src/backend/replication/logical/proto.c