mirror of
https://github.com/postgres/postgres.git
synced 2025-05-23 00:02:38 -04:00
Fix MSVC warning introduced in ea1db8ae70.
Discussion: https://postgr.es/m/CA+hUKGJR1BhCORa5WdvwxztD3arhENcwaN1zEQ1Upg20BwjKWA@mail.gmail.com Reported-by: Thomas Munro
This commit is contained in:
parent
f303ec6210
commit
36320cbc16
@ -2908,6 +2908,7 @@ icu_language_tag(const char *loc_str, int elevel)
|
|||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||||
errmsg("ICU is not supported in this build")));
|
errmsg("ICU is not supported in this build")));
|
||||||
|
return NULL; /* keep compiler quiet */
|
||||||
#endif /* not USE_ICU */
|
#endif /* not USE_ICU */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2298,6 +2298,7 @@ icu_language_tag(const char *loc_str)
|
|||||||
return langtag;
|
return langtag;
|
||||||
#else
|
#else
|
||||||
pg_fatal("ICU is not supported in this build");
|
pg_fatal("ICU is not supported in this build");
|
||||||
|
return NULL; /* keep compiler quiet */
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user