From ebb01bdb273216607f60faddf791a1b378cccfa8 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Wed, 8 Jun 2022 15:14:09 +0100 Subject: 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) --- src/os_mswin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os_mswin.c') diff --git a/src/os_mswin.c b/src/os_mswin.c index 6310a1aaf1..b6e8d71e43 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -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; } -- cgit v1.2.3