0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2019-09-21 23:09:04 +02:00
parent 1e82a784ac
commit bd67aac279
13 changed files with 24 additions and 22 deletions

View File

@@ -957,7 +957,7 @@ free_unused_terminals()
* possible to do "1,5term vim -".
*/
static ch_part_T
get_tty_part(term_T *term)
get_tty_part(term_T *term UNUSED)
{
#ifdef UNIX
ch_part_T parts[3] = {PART_IN, PART_OUT, PART_ERR};
@@ -5787,7 +5787,7 @@ dyn_conpty_init(int verbose)
conpty_term_and_job_init(
term_T *term,
typval_T *argvar,
char **argv,
char **argv UNUSED,
jobopt_T *opt,
jobopt_T *orig_opt)
{
@@ -6139,7 +6139,7 @@ dyn_winpty_init(int verbose)
winpty_term_and_job_init(
term_T *term,
typval_T *argvar,
char **argv,
char **argv UNUSED,
jobopt_T *opt,
jobopt_T *orig_opt)
{