summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-21 23:09:04 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-21 23:09:04 +0200
commitbd67aac279adf3a1cfa11557229b44e4c2c3dcda (patch)
treeb00100bb2bd1c42ce594c3d6804c618afae3450c /src/terminal.c
parent1e82a784ace6d2c4dce594dd6156bcb0028bba9e (diff)
downloadvim-git-bd67aac279adf3a1cfa11557229b44e4c2c3dcda.tar.gz
patch 8.1.2064: MS-Windows: compiler warnings for unused argumentsv8.1.2064
Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963)
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 3d66bbb9b..a8b7881f5 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -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)
{