summaryrefslogtreecommitdiff
path: root/src/memline.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/memline.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/memline.c')
-rw-r--r--src/memline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c
index 08a99f7f4..c77d1df9e 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -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