Mercurial > vim
diff src/dosinst.c @ 29105:faf7fcd1c8d5 v8.2.5073
patch 8.2.5073: clang on MS-Windows produces warnings
Commit: https://github.com/vim/vim/commit/35d7a2fb13fc833aa1b654ca6fd6e429e72e6b49
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 9 20:53:54 2022 +0100
patch 8.2.5073: clang on MS-Windows produces warnings
Problem: Clang on MS-Windows produces warnings.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/10546)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Jun 2022 22:00:07 +0200 |
parents | d2ef7d649fcb |
children | 495d55210aac |
line wrap: on
line diff
--- 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");