diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-11 13:09:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-11 13:09:42 +0200 |
commit | d6896731ecb74b419389f75d79210e088a9caa77 (patch) | |
tree | d93730473269314f1ce66256e5800af1f0642f94 /src/undo.c | |
parent | afd78266c5096574ec057c36fb4a0e56912e9a71 (diff) | |
download | vim-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.c | 1 |
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 |