0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.1251: Vim9: warning for pointer usage, test failure undetected

Problem:    Vim9: warning for pointer usage, test failure undetected.
Solution:   Fix pointer indirection.  Give error when executing function
            failed for any reason.  Fix instruction names.
This commit is contained in:
Bram Moolenaar
2020-07-19 20:48:59 +02:00
parent 2f8ce0ae8a
commit 682d0a1546
4 changed files with 13 additions and 7 deletions

View File

@@ -2122,7 +2122,7 @@ theend:
return ret;
}
static char_u *
char_u *
printable_func_name(ufunc_T *fp)
{
return fp->uf_name_exp != NULL ? fp->uf_name_exp : fp->uf_name;