Mercurial > vim
diff src/memline.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 | 9fb236d0f386 |
children | 11394af51615 |
line wrap: on
line diff
--- 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