From 3e7637bd266da43c9158f0e1cfe3f7f7843d7147 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 28 Feb 2022 21:02:19 +0000 Subject: 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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmdexpand.c') diff --git a/src/cmdexpand.c b/src/cmdexpand.c index f46045e6e1..b261415e85 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; -- cgit v1.2.3