mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
build: initialize variable (#5194)
This commit is contained in:

committed by
Justin M. Keyes

parent
6f0f8e7f4a
commit
12b5c846ba
@@ -1081,7 +1081,8 @@ static void redraw(bool restore_cursor)
|
|||||||
restore_cursor = true;
|
restore_cursor = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int save_row, save_col;
|
int save_row = 0;
|
||||||
|
int save_col = 0;
|
||||||
if (restore_cursor) {
|
if (restore_cursor) {
|
||||||
// save the current row/col to restore after updating screen when not
|
// save the current row/col to restore after updating screen when not
|
||||||
// focused
|
// focused
|
||||||
|
Reference in New Issue
Block a user