To: vim_dev@googlegroups.com Subject: Patch 8.2.1728 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///