Mercurial > vim
comparison src/cmdexpand.c @ 27920:8543d5a1103e v8.2.4485
patch 8.2.4485: compiler warning for uninitialized variable
Commit: https://github.com/vim/vim/commit/3e7637bd266da43c9158f0e1cfe3f7f7843d7147
Author: Bram Moolenaar <Bram@vim.org>
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Feb 2022 22:15:03 +0100 |
parents | 6efa2f193c94 |
children | b737bfa876c5 |
comparison
equal
deleted
inserted
replaced
27919:1ea4ca61d5d7 | 27920:8543d5a1103e |
---|---|
3001 char_u *e; | 3001 char_u *e; |
3002 int keep; | 3002 int keep; |
3003 garray_T ga; | 3003 garray_T ga; |
3004 int fuzzy; | 3004 int fuzzy; |
3005 int match; | 3005 int match; |
3006 int score; | 3006 int score = 0; |
3007 | 3007 |
3008 fuzzy = cmdline_fuzzy_complete(pat); | 3008 fuzzy = cmdline_fuzzy_complete(pat); |
3009 *matches = NULL; | 3009 *matches = NULL; |
3010 *numMatches = 0; | 3010 *numMatches = 0; |
3011 | 3011 |