comparison src/ui.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 1868ec23360e
children 9e6d5a4abb1c
comparison
equal deleted inserted replaced
18138:28c9188517bc 18139:59bc3cd42cf5
647 /* 647 /*
648 * Get the window position in pixels, if possible. 648 * Get the window position in pixels, if possible.
649 * Return FAIL when not possible. 649 * Return FAIL when not possible.
650 */ 650 */
651 int 651 int
652 ui_get_winpos(int *x, int *y, varnumber_T timeout) 652 ui_get_winpos(int *x, int *y, varnumber_T timeout UNUSED)
653 { 653 {
654 # ifdef FEAT_GUI 654 # ifdef FEAT_GUI
655 if (gui.in_use) 655 if (gui.in_use)
656 return gui_mch_get_winpos(x, y); 656 return gui_mch_get_winpos(x, y);
657 # endif 657 # endif