0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.5073: clang on MS-Windows produces warnings

Problem:    Clang on MS-Windows produces warnings.
Solution:   Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
This commit is contained in:
Bram Moolenaar
2022-06-09 20:53:54 +01:00
parent 63f3260378
commit 35d7a2fb13
12 changed files with 137 additions and 105 deletions

View File

@@ -439,7 +439,7 @@ static int num_windows;
*/
//ARGSUSED
static BOOL CALLBACK
window_cb(HWND hwnd, LPARAM lparam)
window_cb(HWND hwnd, LPARAM lparam UNUSED)
{
char title[256];
@@ -1170,7 +1170,7 @@ init_bat_choices(void)
* Install the vimrc file.
*/
static void
install_vimrc(int idx)
install_vimrc(int idx UNUSED)
{
FILE *fd, *tfd;
char *fname;
@@ -1891,7 +1891,7 @@ build_shortcut(
* Create shortcut(s) in the Start Menu\Programs\Vim folder.
*/
static void
install_start_menu(int idx)
install_start_menu(int idx UNUSED)
{
need_uninstall_entry = 1;
printf("Creating start menu\n");