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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 39f9f04) | patch
Suppress "warning: variable 'collcollate' set but not used".
2020年11月15日 17:39:49 +0000 (12:39 -0500)
2020年11月15日 17:39:49 +0000 (12:39 -0500)
commit ff94205787244ace8ce63e3d9eb98338c59ac215
Suppress "warning: variable 'collcollate' set but not used".

Buildfarm members that lack both HAVE_LOCALE_T and USE_ICU have been
complaining about pg_newlocale_from_collation's collcollate variable.
This is evidently fallout from commit 7d1297df0, which removed the
only usage outside those two #ifdef'd code paths. Mark the variable
pg_attribute_unused(), like its sibling collctype, which has been that
way for a long time.
src/backend/utils/adt/pg_locale.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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