0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.1.1207: some compilers give warning messages

Problem:    Some compilers give warning messages.
Solution:   Initialize variables, change printf() argument. (Christian
            Brabandt, closes #4305)
This commit is contained in:
Bram Moolenaar
2019-04-26 20:33:00 +02:00
parent d1f90bbcab
commit 1f3601e92e
5 changed files with 7 additions and 5 deletions

View File

@@ -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;