0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.5069: various warnings from clang on MS-Windows

Problem:    Various warnings from clang on MS-Windows.
Solution:   Fix the code to avoid the warnings. (Yegappan Lakshmanan,
            closes #10538)
This commit is contained in:
Yegappan Lakshmanan
2022-06-08 15:14:09 +01:00
committed by Bram Moolenaar
parent 68093d36bf
commit ebb01bdb27
6 changed files with 9 additions and 8 deletions

View File

@@ -560,7 +560,7 @@ resolve_appexeclink(char_u *fname)
&& idx < (int)rb->AppExecLinkReparseBuffer.StringCount
&& idx != 2; )
{
if ((*p++ == L'\0'))
if (*p++ == L'\0')
++idx;
}