Patch 8.2.4637

7 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 27, 2022, 1:11:57 PM3/27/22
to vim...@googlegroups.com

Patch 8.2.4637
Problem: Warning for using uninitialized variable. (Tony Mechelynck)
Solution: Initialize it.
Files: src/ex_docmd.c


*** ../vim-8.2.4636/src/ex_docmd.c 2022-03-27 16:56:17.340852629 +0100
--- src/ex_docmd.c 2022-03-27 18:05:38.435059153 +0100
***************
*** 2782,2788 ****
cmdmod_T *cmod,
int skip_only)
{
! char_u *cmd_start;
char_u *p;
int starts_with_colon = FALSE;
int vim9script = in_vim9script();
--- 2782,2788 ----
cmdmod_T *cmod,
int skip_only)
{
! char_u *cmd_start = NULL;
char_u *p;
int starts_with_colon = FALSE;
int vim9script = in_vim9script();
*** ../vim-8.2.4636/src/version.c 2022-03-27 16:56:17.340852629 +0100
--- src/version.c 2022-03-27 18:10:51.458541735 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4637,
/**/

--
"Hegel was right when he said that we learn from history that man can
never learn anything from history." (George Bernard Shaw)

/// 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