From bd67aac279adf3a1cfa11557229b44e4c2c3dcda Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 21 Sep 2019 23:09:04 +0200 Subject: patch 8.1.2064: MS-Windows: compiler warnings for unused arguments Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963) --- src/os_mswin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/os_mswin.c') diff --git a/src/os_mswin.c b/src/os_mswin.c index 00b8caa960..5fb4809d25 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 ) { -- cgit v1.2.3