0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -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

@@ -549,8 +549,8 @@ update_screen(int type_arg)
#endif
#ifdef FEAT_GUI
int did_undraw = FALSE;
int gui_cursor_col;
int gui_cursor_row;
int gui_cursor_col = 0;
int gui_cursor_row = 0;
#endif
int no_update = FALSE;