Mercurial > vim
diff src/cmdexpand.c @ 27523:4c7bb6fd383f v8.2.4289
patch 8.2.4289: warnings reported by MSVC
Commit: https://github.com/vim/vim/commit/5411910c77cba85212963a2fb71d8c71f8a5d203
Author: K.Takata <kentkt@csc.jp>
Date: Thu Feb 3 13:33:03 2022 +0000
patch 8.2.4289: warnings reported by MSVC
Problem: Warnings reported by MSVC.
Solution: Rename variables and other fixes. (Ken Takata, closes https://github.com/vim/vim/issues/9689)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 03 Feb 2022 14:45:03 +0100 |
parents | c9474ae175f4 |
children | 4eb2bf8b2f27 |
line wrap: on
line diff
--- 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) {