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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user