From bf1c1b85136bbbe55a50c9cd01ed064d8df75697 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 13 Sep 2018 21:30:05 +0200 Subject: patch 8.1.0388: Coverity complains about possible NULL pointer use Problem: Coverity complains about possible NULL pointer use. Solution: Use get_tv_string() instead of get_tv_string_chk(). --- 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 69a674d2c4..f49bcb843d 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -13075,7 +13075,7 @@ f_test_option_not_set(typval_T *argvars, typval_T *rettv UNUSED) EMSG(_(e_invarg)); else { - name = get_tv_string_chk(&argvars[0]); + name = get_tv_string(&argvars[0]); if (reset_option_was_set(name) == FAIL) EMSG2(_(e_invarg2), name); } diff --git a/src/version.c b/src/version.c index 9b2e81b125..dce4643c2f 100644 --- a/src/version.c +++ b/src/version.c @@ -794,6 +794,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 388, /**/ 387, /**/ -- cgit v1.2.3