comparison 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
comparison
equal deleted inserted replaced
18138:28c9188517bc 18139:59bc3cd42cf5
2099 * does with localtime(3), and we don't want to call tzset(3) every time. 2099 * does with localtime(3), and we don't want to call tzset(3) every time.
2100 */ 2100 */
2101 struct tm * 2101 struct tm *
2102 vim_localtime( 2102 vim_localtime(
2103 const time_t *timep, // timestamp for local representation 2103 const time_t *timep, // timestamp for local representation
2104 struct tm *result) // pointer to caller return buffer 2104 struct tm *result UNUSED) // pointer to caller return buffer
2105 { 2105 {
2106 #ifdef HAVE_LOCALTIME_R 2106 #ifdef HAVE_LOCALTIME_R
2107 # ifdef HAVE_TZSET 2107 # ifdef HAVE_TZSET
2108 char *tz; // pointer for TZ environment var 2108 char *tz; // pointer for TZ environment var
2109 2109