From: Bram Moolenaar Date: Tue, 22 Sep 2020 20:08:32 +0000 (+0200) Subject: patch 8.2.1728: compiler warning for using uninitialized variable X-Git-Tag: v8.2.1728 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c53e9c57a9846655c2d3169788f4beefa6d22d90;p=vim 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 index 59b46e54d..badf79371 100644 --- 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 index cafc31d32..a9852e94e 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1728, /**/ 1727, /**/