changeset 15253:8d7a3fd70ff4 v8.1.0635

patch 8.1.0635: Coverity complains about null pointer use commit https://github.com/vim/vim/commit/e38197d50f7068c4b68043792d283da98e526ec3 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 24 23:35:13 2018 +0100 patch 8.1.0635: Coverity complains about null pointer use Problem: Coverity complains about null pointer use. Solution: Avoid using a null pointer.
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Dec 2018 23:45:04 +0100
parents fdde04678443
children 7790044a7348
files src/evalfunc.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -13586,7 +13586,7 @@ f_test_override(typval_T *argvars, typva
 	EMSG(_(e_invarg));
     else
     {
-	name = tv_get_string_chk(&argvars[0]);
+	name = tv_get_string(&argvars[0]);
 	val = (int)tv_get_number(&argvars[1]);
 
 	if (STRCMP(name, (char_u *)"redraw") == 0)
--- a/src/version.c
+++ b/src/version.c
@@ -800,6 +800,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    635,
+/**/
     634,
 /**/
     633,