summaryrefslogtreecommitdiffstats
path: root/src/cmdexpand.c
diff options
context:
space:
mode:
authorK.Takata <kentkt@csc.jp>2022-02-03 13:33:03 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-03 13:33:03 +0000
commit5411910c77cba85212963a2fb71d8c71f8a5d203 (patch)
tree02b93fc9c88ba737b0d94785790effa062de465b /src/cmdexpand.c
parent6e1d31e9e3ca42cb883abca198f011dc6f4ceb14 (diff)
patch 8.2.4289: warnings reported by MSVCv8.2.4289
Problem: Warnings reported by MSVC. Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r--src/cmdexpand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index 464dc96c19..b75903df98 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -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)
{