diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-08-19 20:45:26 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-08-19 21:38:42 -0400 |
commit | 1d9b146ce3694096a7e45e97561086f823836981 (patch) | |
tree | 93206fefa68c65e5d102133cfc43345f5e4263cc /src/nvim/eval/userfunc.c | |
parent | 8d6c1edc6e31d202590082fa58bf042926e696b2 (diff) | |
download | rneovim-1d9b146ce3694096a7e45e97561086f823836981.tar.gz rneovim-1d9b146ce3694096a7e45e97561086f823836981.tar.bz2 rneovim-1d9b146ce3694096a7e45e97561086f823836981.zip |
vim-patch:8.2.0607: gcc warns for using uninitialized variable
Problem: Gcc warns for using uninitialized variable. (John Marriott)
Solution: Set name_end also for environment variables.
https://github.com/vim/vim/commit/2bb76accc66d17f2c027c04396082c46f410bfea
Diffstat (limited to 'src/nvim/eval/userfunc.c')
-rw-r--r-- | src/nvim/eval/userfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/userfunc.c b/src/nvim/eval/userfunc.c index 46eccd5181..c4a7a210f1 100644 --- a/src/nvim/eval/userfunc.c +++ b/src/nvim/eval/userfunc.c @@ -2886,7 +2886,7 @@ void ex_call(exarg_T *eap) if (!failed || eap->cstack->cs_trylevel > 0) { // Check for trailing illegal characters and a following command. if (!ends_excmd(*arg)) { - emsg_severe = TRUE; + emsg_severe = true; EMSG(_(e_trailing)); } else { eap->nextcmd = check_nextcmd(arg); |