mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -372,12 +372,12 @@ repeat:
|
||||
{
|
||||
if (GetLongPathNameW(wfname, buf, _MAX_PATH))
|
||||
{
|
||||
char_u *p = utf16_to_enc(buf, NULL);
|
||||
char_u *q = utf16_to_enc(buf, NULL);
|
||||
|
||||
if (p != NULL)
|
||||
if (q != NULL)
|
||||
{
|
||||
vim_free(*bufp); // free any allocated file name
|
||||
*bufp = *fnamep = p;
|
||||
*bufp = *fnamep = q;
|
||||
}
|
||||
}
|
||||
vim_free(wfname);
|
||||
|
Reference in New Issue
Block a user