mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.0635: Coverity complains about null pointer use
Problem: Coverity complains about null pointer use. Solution: Avoid using a null pointer.
This commit is contained in:
parent
e3d31b02a5
commit
e38197d50f
@ -13586,7 +13586,7 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED)
|
|||||||
EMSG(_(e_invarg));
|
EMSG(_(e_invarg));
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
name = tv_get_string_chk(&argvars[0]);
|
name = tv_get_string(&argvars[0]);
|
||||||
val = (int)tv_get_number(&argvars[1]);
|
val = (int)tv_get_number(&argvars[1]);
|
||||||
|
|
||||||
if (STRCMP(name, (char_u *)"redraw") == 0)
|
if (STRCMP(name, (char_u *)"redraw") == 0)
|
||||||
|
@ -799,6 +799,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
635,
|
||||||
/**/
|
/**/
|
||||||
634,
|
634,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user