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:
committed by
Bram Moolenaar
parent
68093d36bf
commit
ebb01bdb27
@@ -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];
|
||||
|
Reference in New Issue
Block a user