From 54ade9f7e3b5cfd582aee03591a2b0884b9a96ab Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 2 Oct 2018 14:15:12 +0200 Subject: patch 8.1.0444: unnecessary check for NULL pointer Problem: Unnecessary check for NULL pointer. Solution: Remove check and call vim_free() directly. --- src/beval.c | 3 +-- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/beval.c b/src/beval.c index 74750a27d0..3025b2cc97 100644 --- a/src/beval.c +++ b/src/beval.c @@ -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; diff --git a/src/version.c b/src/version.c index 8f75fef3a9..e7ce60450b 100644 --- a/src/version.c +++ b/src/version.c @@ -792,6 +792,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 444, /**/ 443, /**/ -- cgit v1.2.3