Minor code beautification in regexp.c.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0db7c67051806f28a9129d50695efc19372d3af2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-01-16T16:31:30Z
Releases: 13.0
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

Files

PathChange+/−
src/backend/utils/adt/regexp.c modified +7 −11

Discussion