forked from aniani/vim
patch 8.1.0444: unnecessary check for NULL pointer
Problem: Unnecessary check for NULL pointer. Solution: Remove check and call vim_free() directly.
This commit is contained in:
parent
95bafa296a
commit
54ade9f7e3
@ -125,8 +125,7 @@ get_beval_info(
|
||||
*textp = lbuf;
|
||||
*colp = col;
|
||||
#ifdef FEAT_VARTABS
|
||||
if (beval->vts)
|
||||
vim_free(beval->vts);
|
||||
vim_free(beval->vts);
|
||||
beval->vts = tabstop_copy(wp->w_buffer->b_p_vts_array);
|
||||
#endif
|
||||
beval->ts = wp->w_buffer->b_p_ts;
|
||||
|
@ -792,6 +792,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
444,
|
||||
/**/
|
||||
443,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user