mirror of
https://github.com/postgres/postgres.git
synced 2026-05-17 11:59:36 -04:00
We hadn't noticed this violation of -Wshadow=compatible-local because this function isn't compiled without -DTRGM_REGEXP_DEBUG. As long as we have to clean it up, let's do so by converting all this function's loops to use C99 loop-local control variables. Reported-by: Sergei Kornilov <sk@zsrv.org> Author: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/3009911772478436@08341ecb-668d-43a9-af4d-b45f00c72521 |
||
|---|---|---|
| .. | ||
| data | ||
| expected | ||
| sql | ||
| .gitignore | ||
| Makefile | ||
| meson.build | ||
| pg_trgm--1.0--1.1.sql | ||
| pg_trgm--1.1--1.2.sql | ||
| pg_trgm--1.2--1.3.sql | ||
| pg_trgm--1.3--1.4.sql | ||
| pg_trgm--1.3.sql | ||
| pg_trgm--1.4--1.5.sql | ||
| pg_trgm--1.5--1.6.sql | ||
| pg_trgm.control | ||
| trgm.h | ||
| trgm_gin.c | ||
| trgm_gist.c | ||
| trgm_op.c | ||
| trgm_regexp.c | ||