Minor code beautification in regexp.c.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jan 2020 16:31:30 +0000 (11:31 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jan 2020 16:31:30 +0000 (11:31 -0500)
commit0db7c67051806f28a9129d50695efc19372d3af2
tree1187c964882f711e1ca06b4105e19854fe9ed3e0
parent1281a5c907b41e992a66deb13c3aa61888a62268
Minor code beautification in regexp.c.

Remove duplicated code (apparently introduced by commit c8ea87e4b).
Also get rid of some PG_USED_FOR_ASSERTS_ONLY variables we don't
really need to have.

Li Japin, Tom Lane

Discussion: https://postgr.es/m/PS1PR0601MB3770A5595B6E5E3FD6F35724B6360@PS1PR0601MB3770.apcprd06.prod.outlook.com
src/backend/utils/adt/regexp.c