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:
@@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1154,
|
||||
/**/
|
||||
1153,
|
||||
/**/
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user