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:
@@ -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
|
||||
|
Reference in New Issue
Block a user