Patch 8.2.1728
Problem: Compiler warning for using uninitialized variable. (John Marriott)
Solution: Initialize "neighbor".
Files: src/search.c
*** ../vim-8.2.1727/src/search.c 2020-09-22 20:33:30.437223175 +0200
--- src/search.c 2020-09-22 22:04:48.312513031 +0200
***************
*** 4293,4299 ****
if (currIdx > 0)
{
// Camel case
! int neighbor;
int curr;
int neighborSeparator;
--- 4293,4299 ----
if (currIdx > 0)
{
// Camel case
! int neighbor = ' ';
int curr;
int neighborSeparator;
*** ../vim-8.2.1727/src/version.c 2020-09-22 21:55:16.214978662 +0200
--- src/version.c 2020-09-22 22:06:06.992163901 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1728,
/**/
--
I have read and understood the above. X________________
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202009222009.08MK9Bd83740081%40masaka.moolenaar.net.