mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user