From 09f68a5e7817cbb40854ee6b8ae3db21d5365346 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sat, 18 Jun 2022 16:48:36 +0100 Subject: patch 8.2.5125: MS-Windows: warnings from MinGW compiler Problem: MS-Windows: warnings from MinGW compyler. Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize variable. --- src/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map.c') diff --git a/src/map.c b/src/map.c index 9570285cd..2850a3fe2 100644 --- a/src/map.c +++ b/src/map.c @@ -1273,7 +1273,7 @@ ExpandMappings( int i; int fuzzy; int match; - int score; + int score = 0; fuzmatch_str_T *fuzmatch; fuzzy = cmdline_fuzzy_complete(pat); -- cgit v1.2.1