0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.1316: duplicated localtime() call

Problem:    Duplicated localtime() call.
Solution:   Delete one.
This commit is contained in:
Bram Moolenaar
2019-05-11 13:09:42 +02:00
parent afd78266c5
commit d6896731ec
2 changed files with 2 additions and 1 deletions

View File

@@ -3117,7 +3117,6 @@ u_add_time(char_u *buf, size_t buflen, time_t tt)
if (vim_time() - tt >= 100)
{
curtime = localtime(&tt);
# ifdef HAVE_LOCALTIME_R
curtime = localtime_r(&tt, &tmval);
# else