summaryrefslogtreecommitdiffstats
path: root/src/main.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/main.c
parent1e82a784ace6d2c4dce594dd6156bcb0028bba9e (diff)
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/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 536378561f..c18fc6f116 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3658,7 +3658,7 @@ static struct timeval prev_timeval;
* Windows doesn't have gettimeofday(), although it does have struct timeval.
*/
static int
-gettimeofday(struct timeval *tv, char *dummy)
+gettimeofday(struct timeval *tv, char *dummy UNUSED)
{
long t = clock();
tv->tv_sec = t / CLOCKS_PER_SEC;