summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-21 23:09:04 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-21 23:09:04 +0200
commitbd67aac279adf3a1cfa11557229b44e4c2c3dcda (patch)
treeb00100bb2bd1c42ce594c3d6804c618afae3450c /src/os_mswin.c
parent1e82a784ace6d2c4dce594dd6156bcb0028bba9e (diff)
downloadvim-git-bd67aac279adf3a1cfa11557229b44e4c2c3dcda.tar.gz
patch 8.1.2064: MS-Windows: compiler warnings for unused argumentsv8.1.2064
Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963)
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 00b8caa96..5fb4809d2 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -272,7 +272,7 @@ mch_input_isatty(void)
void
mch_settitle(
char_u *title,
- char_u *icon)
+ char_u *icon UNUSED)
{
# ifdef FEAT_GUI_MSWIN
# ifdef VIMDLL
@@ -1164,7 +1164,7 @@ AbortProc(HDC hdcPrn UNUSED, int iCode UNUSED)
PrintHookProc(
HWND hDlg, // handle to dialog box
UINT uiMsg, // message identifier
- WPARAM wParam, // message parameter
+ WPARAM wParam UNUSED, // message parameter
LPARAM lParam // message parameter
)
{