0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

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

@@ -5617,7 +5617,6 @@ f_setcellwidths(typval_T *argvars, typval_T *rettv UNUSED)
}
// Store the items in the new table.
item = 0;
for (item = 0; item < l->lv_len; ++item)
{
listitem_T *lili = ptrs[item];