From e38197d50f7068c4b68043792d283da98e526ec3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 24 Dec 2018 23:35:13 +0100 Subject: [PATCH] patch 8.1.0635: Coverity complains about null pointer use Problem: Coverity complains about null pointer use. Solution: Avoid using a null pointer. --- src/evalfunc.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/evalfunc.c b/src/evalfunc.c index 99e68f7e5..a9ef60e40 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -13586,7 +13586,7 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED) 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) diff --git a/src/version.c b/src/version.c index 2b1d397a3..0712bcc33 100644 --- a/src/version.c +++ b/src/version.c @@ -799,6 +799,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 635, /**/ 634, /**/ -- 2.50.1