mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +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) {
|
||||
# ifdef HAVE_WORKING_LIBINTL
|
||||
if (what == VIM_LC_MESSAGES) {
|
||||
p = get_mess_env();
|
||||
} else {
|
||||
# endif
|
||||
p = setlocale(what, NULL);
|
||||
# ifdef HAVE_WORKING_LIBINTL
|
||||
}
|
||||
# endif
|
||||
p = setlocale(what, NULL);
|
||||
}
|
||||
if (p == NULL || *p == NUL) {
|
||||
p = "Unknown";
|
||||
}
|
||||
|
Reference in New Issue
Block a user