mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00: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)
|
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
|
||||||
|
@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user