0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -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

@@ -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;