comparison 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
comparison
equal deleted inserted replaced
18138:28c9188517bc 18139:59bc3cd42cf5
270 * mch_settitle(): set titlebar of our window 270 * mch_settitle(): set titlebar of our window
271 */ 271 */
272 void 272 void
273 mch_settitle( 273 mch_settitle(
274 char_u *title, 274 char_u *title,
275 char_u *icon) 275 char_u *icon UNUSED)
276 { 276 {
277 # ifdef FEAT_GUI_MSWIN 277 # ifdef FEAT_GUI_MSWIN
278 # ifdef VIMDLL 278 # ifdef VIMDLL
279 if (gui.in_use) 279 if (gui.in_use)
280 # endif 280 # endif
1162 1162
1163 static UINT_PTR CALLBACK 1163 static UINT_PTR CALLBACK
1164 PrintHookProc( 1164 PrintHookProc(
1165 HWND hDlg, // handle to dialog box 1165 HWND hDlg, // handle to dialog box
1166 UINT uiMsg, // message identifier 1166 UINT uiMsg, // message identifier
1167 WPARAM wParam, // message parameter 1167 WPARAM wParam UNUSED, // message parameter
1168 LPARAM lParam // message parameter 1168 LPARAM lParam // message parameter
1169 ) 1169 )
1170 { 1170 {
1171 HWND hwndOwner; 1171 HWND hwndOwner;
1172 RECT rc, rcDlg, rcOwner; 1172 RECT rc, rcDlg, rcOwner;