| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix function-defined-but-not-used warning. |
| Date: | 2022-08-06 17:32:38 |
| Message-ID: | E1oKNfC-000bVw-HE@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix function-defined-but-not-used warning.
Buildfarm member jacana (MinGW) has been complaining that
get_iso_localename is defined but not used. This is evidently
fallout from the recent removal of VS2013 support in pg_locale.c.
Rearrange the #ifs so that get_iso_localename and its subroutine
search_locale_enum won't get built on MinGW.
I also noticed that a comment in get_iso_localename cross-
referenced a comment in IsoLocaleName that isn't there anymore.
Put back what I think is the referenced material.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5c7121bcf8dbe94344742a5cd0fa0f016b7a76a1
Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2022-08-06 19:01:58 | Re: pgsql: BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking |
| Previous Message | Tom Lane | 2022-08-06 15:50:50 | pgsql: Fix data-corruption hazard in WAL-logged CREATE DATABASE. |