commit | 09f68a5e7817cbb40854ee6b8ae3db21d5365346 | [log] [tgz] |
---|---|---|
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | Sat Jun 18 16:48:36 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 18 16:48:36 2022 +0100 |
tree | a59c32d01569efa54ef7ab411b2af92cc3b5823f | |
parent | 620aa8eb5b1468d086253f8aa787a33a86033100 [diff] [blame] |
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.
diff --git a/src/map.c b/src/map.c index 9570285..2850a3f 100644 --- a/src/map.c +++ b/src/map.c
@@ -1273,7 +1273,7 @@ int i; int fuzzy; int match; - int score; + int score = 0; fuzmatch_str_T *fuzmatch; fuzzy = cmdline_fuzzy_complete(pat);