diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-26 20:33:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-26 20:33:00 +0200 |
commit | 1f3601e92e7fd2813b9541580d6d9649c802eb58 (patch) | |
tree | 05c9e99b68810e0a12ca7af59619431ec8ae8c1c /src/undo.c | |
parent | d1f90bbcab0ad934d3f48a717a916807b57269ab (diff) | |
download | vim-git-1f3601e92e7fd2813b9541580d6d9649c802eb58.tar.gz |
patch 8.1.1207: some compilers give warning messagesv8.1.1207
Problem: Some compilers give warning messages.
Solution: Initialize variables, change printf() argument. (Christian
Brabandt, closes #4305)
Diffstat (limited to 'src/undo.c')
-rw-r--r-- | src/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c index 978549aea..1d2614449 100644 --- a/src/undo.c +++ b/src/undo.c @@ -2271,7 +2271,7 @@ undo_time( u_header_T *uhp = NULL; u_header_T *last; int mark; - int nomark; + int nomark = 0; // shut up compiler int round; int dosec = sec; int dofile = file; |