changeset 7990:75de22db840d v7.4.1290

commit https://github.com/vim/vim/commit/ee5aeae22b8029fdb5ae97bb6ed8114a81e34c22 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 7 22:30:47 2016 +0100 patch 7.4.1290 Problem: Coverity complains about uneccessary check for NULL. Solution: Remove the check.
author Christian Brabandt <cb@256bit.org>
date Sun, 07 Feb 2016 22:45:04 +0100
parents bae11b1fbe2f
children 689d10b97db7
files src/eval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -14375,8 +14375,7 @@ f_job_start(typval_T *argvars UNUSED, ty
 
 theend:
 #ifdef USE_ARGV
-    if (argv != NULL)
-	vim_free(argv);
+    vim_free(argv);
 #else
     vim_free(ga.ga_data);
 #endif
--- a/src/version.c
+++ b/src/version.c
@@ -748,6 +748,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1290,
+/**/
     1289,
 /**/
     1288,