Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36320cb

Browse files
committed
Fix MSVC warning introduced inea1db8a.
Discussion:https://postgr.es/m/CA+hUKGJR1BhCORa5WdvwxztD3arhENcwaN1zEQ1Upg20BwjKWA@mail.gmail.comReported-by: Thomas Munro
1 parentf303ec6 commit36320cb

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+
returnNULL;/* 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
returnlangtag;
22992299
#else
23002300
pg_fatal("ICU is not supported in this build");
2301+
returnNULL;/* keep compiler quiet */
23012302
#endif
23022303
}
23032304

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp