summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
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