summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-11 13:09:42 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-11 13:09:42 +0200
commitd6896731ecb74b419389f75d79210e088a9caa77 (patch)
treed93730473269314f1ce66256e5800af1f0642f94 /src/undo.c
parentafd78266c5096574ec057c36fb4a0e56912e9a71 (diff)
downloadvim-git-d6896731ecb74b419389f75d79210e088a9caa77.tar.gz
patch 8.1.1316: duplicated localtime() callv8.1.1316
Problem: Duplicated localtime() call. Solution: Delete one.
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index 2f1924ce1..c4558d1c7 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -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