Mercurial > vim
diff src/os_win32.c @ 29113:495d55210aac v8.2.5077
patch 8.2.5077: various warnings from clang on MS-Windows
Commit: https://github.com/vim/vim/commit/a34b4460c2843c67a35a2d236b01e6cb9bc38734
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Jun 11 10:43:26 2022 +0100
patch 8.2.5077: various warnings from clang on MS-Windows
Problem: Various warnings from clang on MS-Windows.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/10553)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 Jun 2022 11:45:04 +0200 |
parents | faf7fcd1c8d5 |
children | 35a30cb18005 |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -2355,11 +2355,11 @@ theend: * worth allowing these to make debugging of issues easier. */ static void -bad_param_handler(const wchar_t *expression, - const wchar_t *function, - const wchar_t *file, - unsigned int line, - uintptr_t pReserved) +bad_param_handler(const wchar_t *expression UNUSED, + const wchar_t *function UNUSED, + const wchar_t *file UNUSED, + unsigned int line UNUSED, + uintptr_t pReserved UNUSED) { }