mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
vim-patch:8.1.1207: some compilers give warning messages
Problem: Some compilers give warning messages.
Solution: Initialize variables, change printf() argument. (Christian
Brabandt, closes vim/vim#4305)
1f3601e92e
This commit is contained in:
@@ -1818,7 +1818,7 @@ void undo_time(long step, bool sec, bool file, bool absolute)
|
||||
u_header_T *uhp = NULL;
|
||||
u_header_T *last;
|
||||
int mark;
|
||||
int nomark;
|
||||
int nomark = 0; // shut up compiler
|
||||
int round;
|
||||
bool dosec = sec;
|
||||
bool dofile = file;
|
||||
|
Reference in New Issue
Block a user