0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.1103: Coverity reports an unnecessary NULL check

Problem:    Coverity reports an unnecessary NULL check.
Solution:   Remove the check for NULL.
This commit is contained in:
Bram Moolenaar
2020-07-01 13:07:37 +02:00
parent 9004949221
commit e707c882b2
2 changed files with 3 additions and 1 deletions

View File

@@ -5246,7 +5246,7 @@ ex_echo(exarg_T *eap)
int called_emsg_before = called_emsg; int called_emsg_before = called_emsg;
evalarg_T evalarg; evalarg_T evalarg;
fill_evalarg_from_eap(&evalarg, eap, eap != NULL && eap->skip); fill_evalarg_from_eap(&evalarg, eap, eap->skip);
if (eap->skip) if (eap->skip)
++emsg_skip; ++emsg_skip;

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1103,
/**/ /**/
1102, 1102,
/**/ /**/