1
0
forked from aniani/vim

patch 9.0.1154: Coverity warns for dead code

Problem:    Coverity warns for dead code.
Solution:   Remove condition that is always true.
This commit is contained in:
Bram Moolenaar
2023-01-07 10:51:30 +00:00
parent 7d4d87ba89
commit 2c01131c2a
2 changed files with 3 additions and 2 deletions

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1154,
/**/
1153,
/**/

View File

@@ -681,8 +681,7 @@ early_ret:
garray_T lines_to_free;
ga_init2(&lines_to_free, sizeof(char_u *), 50);
ufunc_T *nf = define_function(&fea, NULL, &lines_to_free,
is_class ? CF_CLASS : CF_INTERFACE);
ufunc_T *nf = define_function(&fea, NULL, &lines_to_free, CF_CLASS);
ga_clear_strings(&lines_to_free);
vim_free(fga.ga_data);