Mercurial > vim
diff src/os_win32.c @ 29096:d2ef7d649fcb v8.2.5069
patch 8.2.5069: various warnings from clang on MS-Windows
Commit: https://github.com/vim/vim/commit/ebb01bdb273216607f60faddf791a1b378cccfa8
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Wed Jun 8 15:14:09 2022 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 Jun 2022 16:15:03 +0200 |
parents | b90bca860b5a |
children | faf7fcd1c8d5 |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -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];