# HG changeset patch # User Bram Moolenaar # Date 1557573305 -7200 # Node ID 58009c45c31c201755b1e9a82a8e1eca608e817a # Parent 44290e98c950741d3046a8b91081f355ad3f8c8c patch 8.1.1316: duplicated localtime() call commit https://github.com/vim/vim/commit/d6896731ecb74b419389f75d79210e088a9caa77 Author: Bram Moolenaar Date: Sat May 11 13:09:42 2019 +0200 patch 8.1.1316: duplicated localtime() call Problem: Duplicated localtime() call. Solution: Delete one. diff --git a/src/undo.c b/src/undo.c --- a/src/undo.c +++ b/src/undo.c @@ -3117,7 +3117,6 @@ u_add_time(char_u *buf, size_t buflen, t if (vim_time() - tt >= 100) { - curtime = localtime(&tt); # ifdef HAVE_LOCALTIME_R curtime = localtime_r(&tt, &tmval); # else diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -768,6 +768,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1316, +/**/ 1315, /**/ 1314,