From 35d7a2fb13fc833aa1b654ca6fd6e429e72e6b49 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 9 Jun 2022 20:53:54 +0100 Subject: 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) --- src/dosinst.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dosinst.c') diff --git a/src/dosinst.c b/src/dosinst.c index 23cf2d31f8..416528c097 100644 --- a/src/dosinst.c +++ b/src/dosinst.c @@ -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"); -- cgit v1.2.3