# HG changeset patch # User Bram Moolenaar # Date 1646082903 -3600 # Node ID 8543d5a1103ed95b0eccd8e56ad399eb375c3962 # Parent 1ea4ca61d5d7bf6a115967713fafcd78a9e580f6 patch 8.2.4485: compiler warning for uninitialized variable Commit: https://github.com/vim/vim/commit/3e7637bd266da43c9158f0e1cfe3f7f7843d7147 Author: Bram Moolenaar Date: Mon Feb 28 21:02:19 2022 +0000 patch 8.2.4485: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize the variable. (John Marriott) diff --git a/src/cmdexpand.c b/src/cmdexpand.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4485, +/**/ 4484, /**/ 4483,