summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-04 16:44:56 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-04 16:44:56 +0000
commitfcd1635a4680d53090baa433996954bfe0642366 (patch)
treec9fb7b53672a7ba8e8a62911b95d3c2bf40bcb56
parentc024ed9233feac4c8da7394a62bb50474803514f (diff)
patch 8.2.4000: Coverity warns for checking for NULL pointer after using itv8.2.4000
Problem: Coverity warns for checking for NULL pointer after using it. Solution: Remove check for NULL.
-rw-r--r--src/help.c2
-rw-r--r--src/version.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/help.c b/src/help.c
index a36b671ec9..519edca2bb 100644
--- a/src/help.c
+++ b/src/help.c
@@ -836,8 +836,6 @@ fix_help_buffer(void)
continue;
t2 = gettail(f2);
e2 = vim_strrchr(t2, '.');
- if (e1 == NULL || e2 == NULL)
- continue;
if (e1 - f1 != e2 - f2
|| fnamencmp(f1, f2, e1 - f1) != 0)
continue;
diff --git a/src/version.c b/src/version.c
index 2c280aff36..83e054a238 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4000,
+/**/
3999,
/**/
3998,