diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-21 12:00:35 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-21 15:34:44 -0500 |
commit | 5ea38abd533735e0173d35684c03285745048054 (patch) | |
tree | da4a20847a6b1a920a2ecc6bbc4d17ef659d4527 | |
parent | e192a4600af6db8c54f22c854cbabf0b071ca4bc (diff) | |
download | rneovim-5ea38abd533735e0173d35684c03285745048054.tar.gz rneovim-5ea38abd533735e0173d35684c03285745048054.tar.bz2 rneovim-5ea38abd533735e0173d35684c03285745048054.zip |
vim-patch:8.2.2028: Coverity warns for using an uninitialized variable
Problem: Coverity warns for using an uninitialized variable.
Solution: Initialize to NULL.
https://github.com/vim/vim/commit/896ad2c33e562e4b674b7e0efbd43be85a64acc8
N/A patches for version.c:
vim-patch:8.1.1749: Coverity warns for using negative index
Problem: Coverity warns for using negative index.
Solution: Move using index inside "if".
https://github.com/vim/vim/commit/736cd2cfbe83b85259eecc7d70e68297ce968d33
vim-patch:8.2.0579: Coverity warns for unused value
Problem: Coverity warns for unused value.
Solution: Change order and use "else if".
https://github.com/vim/vim/commit/4d5d0dfe9438bd5f2daa41ebbe6ac9a76d165af0
vim-patch:8.2.2025: Amiga: Not all colors are used on OS4
Problem: Amiga: Not all colors are used on OS4.
Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder,
closes vim/vim#7328)
https://github.com/vim/vim/commit/2d718267f4b7dcd65261c9f2acd59a6f6bdc8641
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index b483209f83..1bd9ed73bd 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -1971,7 +1971,7 @@ char_u *get_lval(char_u *const name, typval_T *const rettv, typval_T var2; int empty1 = FALSE; listitem_T *ni; - hashtab_T *ht; + hashtab_T *ht = NULL; int quiet = flags & GLV_QUIET; // Clear everything in "lp". |