Patch 8.2.4485

7 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 28, 2022, 4:04:41 PM2/28/22
to vim...@googlegroups.com

Patch 8.2.4485
Problem: Compiler warning for uninitialized variable.
Solution: Initialize the variable. (John Marriott)
Files: src/cmdexpand.c


*** ../vim-8.2.4484/src/cmdexpand.c 2022-02-28 13:28:34.540563790 +0000
--- src/cmdexpand.c 2022-02-28 21:01:52.687000237 +0000
***************
*** 3003,3009 ****
garray_T ga;
int fuzzy;
int match;
! int score;

fuzzy = cmdline_fuzzy_complete(pat);
*matches = NULL;
--- 3003,3009 ----
garray_T ga;
int fuzzy;
int match;
! int score = 0;

fuzzy = cmdline_fuzzy_complete(pat);
*matches = NULL;
*** ../vim-8.2.4484/src/version.c 2022-02-28 20:54:58.129239044 +0000
--- src/version.c 2022-02-28 21:02:02.943023684 +0000
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 4485,
/**/

--
hundred-and-one symptoms of being an internet addict:
126. You brag to all of your friends about your date Saturday night...but
you don't tell them it was only in a chat room.

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