changeset 21104:f8ec5a7a9cf6 v8.2.1103

patch 8.2.1103: Coverity reports an unnecessary NULL check Commit: https://github.com/vim/vim/commit/e707c882b23a53d2c1f0d1f7fc3a7be247aca614 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 1 13:07:37 2020 +0200 patch 8.2.1103: Coverity reports an unnecessary NULL check Problem: Coverity reports an unnecessary NULL check. Solution: Remove the check for NULL.
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Jul 2020 13:15:06 +0200
parents d5e36fb3f97c
children 4851b16ccb56
files src/eval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -5246,7 +5246,7 @@ ex_echo(exarg_T *eap)
     int		called_emsg_before = called_emsg;
     evalarg_T	evalarg;
 
-    fill_evalarg_from_eap(&evalarg, eap, eap != NULL && eap->skip);
+    fill_evalarg_from_eap(&evalarg, eap, eap->skip);
 
     if (eap->skip)
 	++emsg_skip;
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1103,
+/**/
     1102,
 /**/
     1101,