# HG changeset patch # User Bram Moolenaar # Date 1600805703 -7200 # Node ID f4d1fe8e04cf81667c2ccb5403b94a51f42aeae4 # Parent b6037eb43146780722d84f4be48e8926fa390728 patch 8.2.1728: compiler warning for using uninitialized variable Commit: https://github.com/vim/vim/commit/c53e9c57a9846655c2d3169788f4beefa6d22d90 Author: Bram Moolenaar Date: Tue Sep 22 22:08:32 2020 +0200 patch 8.2.1728: compiler warning for using uninitialized variable Problem: Compiler warning for using uninitialized variable. (John Marriott) Solution: Initialize "neighbor". diff --git a/src/search.c b/src/search.c --- a/src/search.c +++ b/src/search.c @@ -4293,7 +4293,7 @@ fuzzy_match_compute_score( if (currIdx > 0) { // Camel case - int neighbor; + int neighbor = ' '; int curr; int neighborSeparator; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1728, +/**/ 1727, /**/ 1726,