mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4000: Coverity warns for checking for NULL pointer after using it
Problem: Coverity warns for checking for NULL pointer after using it. Solution: Remove check for NULL.
This commit is contained in:
@@ -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;
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4000,
|
||||
/**/
|
||||
3999,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user