Skip to content

Commit 36320cb

Browse files
committed
Fix MSVC warning introduced in ea1db8a.
Discussion: https://postgr.es/m/CA+hUKGJR1BhCORa5WdvwxztD3arhENcwaN1zEQ1Upg20BwjKWA@mail.gmail.com Reported-by: Thomas Munro
1 parent f303ec6 commit 36320cb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/backend/utils/adt/pg_locale.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2908,6 +2908,7 @@ icu_language_tag(const char *loc_str, int elevel)
29082908
ereport(ERROR,
29092909
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
29102910
errmsg("ICU is not supported in this build")));
2911+
return NULL; /* keep compiler quiet */
29112912
#endif /* not USE_ICU */
29122913
}
29132914

src/bin/initdb/initdb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2298,6 +2298,7 @@ icu_language_tag(const char *loc_str)
22982298
return langtag;
22992299
#else
23002300
pg_fatal("ICU is not supported in this build");
2301+
return NULL; /* keep compiler quiet */
23012302
#endif
23022303
}
23032304

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy