From 3e7637bd266da43c9158f0e1cfe3f7f7843d7147 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 28 Feb 2022 21:02:19 +0000 Subject: [PATCH] patch 8.2.4485: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable. (John Marriott) --- src/cmdexpand.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cmdexpand.c b/src/cmdexpand.c index f46045e6e..b261415e8 100644 --- a/src/cmdexpand.c +++ b/src/cmdexpand.c @@ -3003,7 +3003,7 @@ ExpandUserDefined( garray_T ga; int fuzzy; int match; - int score; + int score = 0; fuzzy = cmdline_fuzzy_complete(pat); *matches = NULL; diff --git a/src/version.c b/src/version.c index c64bd83e9..a574acb3a 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4485, /**/ 4484, /**/