mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user