git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 692df42) | patch
Fix function-defined-but-not-used warning.
Sat, 6 Aug 2022 17:32:29 +0000 (13:32 -0400)
Sat, 6 Aug 2022 17:32:29 +0000 (13:32 -0400)
commit 5c7121bcf8dbe94344742a5cd0fa0f016b7a76a1
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.
src/backend/utils/adt/pg_locale.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /