summaryrefslogtreecommitdiffstats
path: root/src/dosinst.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-06-09 20:53:54 +0100
committerBram Moolenaar <Bram@vim.org>2022-06-09 20:53:54 +0100
commit35d7a2fb13fc833aa1b654ca6fd6e429e72e6b49 (patch)
tree257dbf4040c59cf01a5072d35f0c9e5264bba09d /src/dosinst.c
parent63f32603789d1a27c559fc440325955fd0b8b500 (diff)
patch 8.2.5073: clang on MS-Windows produces warningsv8.2.5073
Problem: Clang on MS-Windows produces warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
Diffstat (limited to 'src/dosinst.c')
-rw-r--r--src/dosinst.c6
1 files changed, 3 insertions, 3 deletions
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");