mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
committed by
Bram Moolenaar
parent
b18b496997
commit
c99e182e1f
@@ -4368,7 +4368,12 @@ get_tags(list_T *list, char_u *pat, char_u *buf_fname)
|
||||
{
|
||||
for (i = 0; i < num_matches; ++i)
|
||||
{
|
||||
parse_match(matches[i], &tp);
|
||||
if (parse_match(matches[i], &tp) == FAIL)
|
||||
{
|
||||
vim_free(matches[i]);
|
||||
continue;
|
||||
}
|
||||
|
||||
is_static = test_for_static(&tp);
|
||||
|
||||
// Skip pseudo-tag lines.
|
||||
|
Reference in New Issue
Block a user