1
0
forked from aniani/vim

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

@@ -3495,7 +3495,7 @@ mch_writable(char_u *name)
* the allocated memory.
*/
int
mch_can_exe(char_u *name, char_u **path, int use_path)
mch_can_exe(char_u *name, char_u **path, int use_path UNUSED)
{
return executable_exists((char *)name, path, TRUE, TRUE);
}
@@ -8379,7 +8379,6 @@ stop_timeout(void)
const int *
start_timeout(long msec)
{
UINT interval = (UINT)msec;
BOOL ret;
timeout_flag = &timeout_flags[flag_idx];