commit | ebb01bdb273216607f60faddf791a1b378cccfa8 | [log] [tgz] |
---|---|---|
author | Yegappan Lakshmanan <yegappan@yahoo.com> | Wed Jun 08 15:14:09 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jun 08 15:14:09 2022 +0100 |
tree | 479643307e2e9c253971a38ac0f8fa2aa62d3cc6 | |
parent | 68093d36bf87caf2c2ba7404c06d14ef8416c27a [diff] [blame] |
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)
diff --git a/src/os_mswin.c b/src/os_mswin.c index 6310a1a..b6e8d71 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c
@@ -560,7 +560,7 @@ && idx < (int)rb->AppExecLinkReparseBuffer.StringCount && idx != 2; ) { - if ((*p++ == L'\0')) + if (*p++ == L'\0') ++idx; }