From c53e9c57a9846655c2d3169788f4beefa6d22d90 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 22 Sep 2020 22:08:32 +0200 Subject: [PATCH] patch 8.2.1728: compiler warning for using uninitialized variable Problem: Compiler warning for using uninitialized variable. (John Marriott) Solution: Initialize "neighbor". --- src/search.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/ -- 2.50.1