0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.4289: warnings reported by MSVC

Problem:    Warnings reported by MSVC.
Solution:   Rename variables and other fixes. (Ken Takata, closes #9689)
This commit is contained in:
K.Takata
2022-02-03 13:33:03 +00:00
committed by Bram Moolenaar
parent 6e1d31e9e3
commit 5411910c77
7 changed files with 25 additions and 23 deletions

View File

@@ -1993,11 +1993,11 @@ ExpandFromContext(
#ifdef BACKSLASH_IN_FILENAME
if (p_csl[0] != NUL && (options & WILD_IGNORE_COMPLETESLASH) == 0)
{
int i;
int j;
for (i = 0; i < *num_file; ++i)
for (j = 0; j < *num_file; ++j)
{
char_u *ptr = (*file)[i];
char_u *ptr = (*file)[j];
while (*ptr != NUL)
{