neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 9f1ec825cdcb5e2f4bd8c7b15b50fb763ddd5cca
parent d837b6d50cbb7e90ac8f77a9e1ac2a69acae02c1
Author: dundargoc <33953936+dundargoc@users.noreply.github.com>
Date:   Wed,  1 Jun 2022 16:27:39 +0200

refactor(clang-tidy): remove nested redundant ifdefs #18811


Diffstat:
Msrc/nvim/ex_cmds2.c | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c @@ -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"; }