Patch 8.2.2978

2 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 12, 2021, 6:34:20 AM6/12/21
to vim...@googlegroups.com

Patch 8.2.2978 (after 8.2.2977)
Problem: Warning for uninitialized variable.
Solution: Set return value to FAIL.
Files: src/eval.c


*** ../vim-8.2.2977/src/eval.c 2021-06-12 12:16:51.478922236 +0200
--- src/eval.c 2021-06-12 12:32:37.155912678 +0200
***************
*** 3777,3782 ****
--- 3777,3783 ----
if (s == NULL || *s == NUL)
{
emsg(_(e_empty_function_name));
+ ret = FAIL;
goto theend;
}
}
*** ../vim-8.2.2977/src/version.c 2021-06-12 12:16:51.478922236 +0200
--- src/version.c 2021-06-12 12:33:32.107737822 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2978,
/**/

--
ARTHUR: Be quiet! I order you to shut up.
OLD WOMAN: Order, eh -- who does he think he is?
ARTHUR: I am your king!
OLD WOMAN: Well, I didn't vote for you.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages