vim-patch:8.2.2028: Coverity warns for using an uninitialized variable

Problem:    Coverity warns for using an uninitialized variable.
Solution:   Initialize to NULL.
896ad2c33e

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".
736cd2cfbe

vim-patch:8.2.0579: Coverity warns for unused value

Problem:    Coverity warns for unused value.
Solution:   Change order and use "else if".
4d5d0dfe94

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)
2d718267f4
This commit is contained in:
Jan Edmund Lazo 2020-11-21 12:00:35 -05:00
parent e192a4600a
commit 5ea38abd53
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -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".