1
0
forked from aniani/vim

patch 9.0.0364: clang static analyzer gives warnings

Problem:    Clang static analyzer gives warnings.
Solution:   Avoid the warnings. (Yegappan Lakshmanan, closes #11043)
This commit is contained in:
Yegappan Lakshmanan
2022-09-03 10:52:24 +01:00
committed by Bram Moolenaar
parent b18b496997
commit c99e182e1f
8 changed files with 15 additions and 13 deletions

View File

@@ -4515,7 +4515,7 @@ hlg_add_or_update(dict_T *dict)
# endif
p = add_attr_and_value(p, (char_u *)" guifg=", 7, guifg);
p = add_attr_and_value(p, (char_u *)" guibg=", 7, guibg);
p = add_attr_and_value(p, (char_u *)" guisp=", 7, guisp);
(void)add_attr_and_value(p, (char_u *)" guisp=", 7, guisp);
do_highlight(hlsetBuf, forceit, FALSE);