Skip to content

Commit e38197d

Browse files
committed
patch 8.1.0635: Coverity complains about null pointer use
Problem: Coverity complains about null pointer use. Solution: Avoid using a null pointer.
1 parent e3d31b0 commit e38197d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/evalfunc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13586,7 +13586,7 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED)
1358613586
EMSG(_(e_invarg));
1358713587
else
1358813588
{
13589-
name = tv_get_string_chk(&argvars[0]);
13589+
name = tv_get_string(&argvars[0]);
1359013590
val = (int)tv_get_number(&argvars[1]);
1359113591

1359213592
if (STRCMP(name, (char_u *)"redraw") == 0)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,8 @@ static char *(features[]) =
799799

800800
static int included_patches[] =
801801
{ /* Add new patch number below this line */
802+
/**/
803+
635,
802804
/**/
803805
634,
804806
/**/

0 commit comments

Comments
 (0)