diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-04 16:44:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-04 16:44:56 +0000 |
commit | fcd1635a4680d53090baa433996954bfe0642366 (patch) | |
tree | c9fb7b53672a7ba8e8a62911b95d3c2bf40bcb56 /src/help.c | |
parent | c024ed9233feac4c8da7394a62bb50474803514f (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.
Diffstat (limited to 'src/help.c')
-rw-r--r-- | src/help.c | 2 |
1 files changed, 0 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; |