mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
refactor(clang-tidy): remove nested redundant ifdefs #18811
This commit is contained in:
@@ -2798,15 +2798,11 @@ void ex_language(exarg_T *eap)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (*name == NUL) {
|
if (*name == NUL) {
|
||||||
# ifdef HAVE_WORKING_LIBINTL
|
|
||||||
if (what == VIM_LC_MESSAGES) {
|
if (what == VIM_LC_MESSAGES) {
|
||||||
p = get_mess_env();
|
p = get_mess_env();
|
||||||
} else {
|
} else {
|
||||||
# endif
|
|
||||||
p = setlocale(what, NULL);
|
p = setlocale(what, NULL);
|
||||||
# ifdef HAVE_WORKING_LIBINTL
|
|
||||||
}
|
}
|
||||||
# endif
|
|
||||||
if (p == NULL || *p == NUL) {
|
if (p == NULL || *p == NUL) {
|
||||||
p = "Unknown";
|
p = "Unknown";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user