Mercurial > vim
diff src/os_mswin.c @ 18139:59bc3cd42cf5 v8.1.2064
patch 8.1.2064: MS-Windows: compiler warnings for unused arguments
Commit: https://github.com/vim/vim/commit/bd67aac279adf3a1cfa11557229b44e4c2c3dcda
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 21 23:09:04 2019 +0200
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 https://github.com/vim/vim/issues/4963)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Sep 2019 23:15:03 +0200 |
parents | a6f392cc9587 |
children | c8a53c0daeed |
line wrap: on
line diff
--- 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 U PrintHookProc( HWND hDlg, // handle to dialog box UINT uiMsg, // message identifier - WPARAM wParam, // message parameter + WPARAM wParam UNUSED, // message parameter LPARAM lParam // message parameter ) {