summaryrefslogtreecommitdiffstats
path: root/src/map.c
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2022-06-18 16:48:36 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-18 16:48:36 +0100
commit09f68a5e7817cbb40854ee6b8ae3db21d5365346 (patch)
treea59c32d01569efa54ef7ab411b2af92cc3b5823f /src/map.c
parent620aa8eb5b1468d086253f8aa787a33a86033100 (diff)
patch 8.2.5125: MS-Windows: warnings from MinGW compilerv8.2.5125
Problem: MS-Windows: warnings from MinGW compyler. Solution: Use "volatile". (Yasuhiro Matsumoto, closes #10589) Initialize variable.
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.c b/src/map.c
index 9570285cd7..2850a3fe24 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);