]> granicus.if.org Git - vim/commitdiff
patch 7.4.1290 v7.4.1290
authorBram Moolenaar <Bram@vim.org>
Sun, 7 Feb 2016 21:30:47 +0000 (22:30 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 7 Feb 2016 21:30:47 +0000 (22:30 +0100)
Problem:    Coverity complains about uneccessary check for NULL.
Solution:   Remove the check.

src/eval.c
src/version.c

index e3edff6df76b5fd8debaeef96d61eafb0ca3afbe..b544fc349526cd0cb4c2a535c52c8dd34a778214 100644 (file)
@@ -14375,8 +14375,7 @@ f_job_start(typval_T *argvars UNUSED, typval_T *rettv)
 
 theend:
 #ifdef USE_ARGV
-    if (argv != NULL)
-       vim_free(argv);
+    vim_free(argv);
 #else
     vim_free(ga.ga_data);
 #endif
index b9ca107688ca6243f7d721a7c43f401310f0b312..66739aa29d284402ab598858536fd94a09f7f260 100644 (file)
@@ -747,6 +747,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1290,
 /**/
     1289,
 /**/