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) if (vim_time() - tt >= 100)
{ {
curtime = localtime(&tt);
# ifdef HAVE_LOCALTIME_R # ifdef HAVE_LOCALTIME_R
curtime = localtime_r(&tt, &tmval); curtime = localtime_r(&tt, &tmval);
# else # else

View File

@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1316,
/**/ /**/
1315, 1315,
/**/ /**/