commit | 1f3601e92e7fd2813b9541580d6d9649c802eb58 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 26 20:33:00 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 26 20:33:00 2019 +0200 |
tree | 05c9e99b68810e0a12ca7af59619431ec8ae8c1c | |
parent | d1f90bbcab0ad934d3f48a717a916807b57269ab [diff] [blame] |
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)
diff --git a/src/screen.c b/src/screen.c index 67a0db9..862a635 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -549,8 +549,8 @@ #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;