diff src/main.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 770987511384
line wrap: on
line diff
--- 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;