0
0
mirror of https://github.com/vim/vim.git synced 2025-10-08 06:04:08 -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

@@ -2101,7 +2101,7 @@ static char tz_cache[64];
struct tm *
vim_localtime(
const time_t *timep, // timestamp for local representation
struct tm *result) // pointer to caller return buffer
struct tm *result UNUSED) // pointer to caller return buffer
{
#ifdef HAVE_LOCALTIME_R
# ifdef HAVE_TZSET