mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:8.1.1642: may use uninitialized variable
Problem: May use uninitialized variable. (Patrick Palka)
Solution: Initialize variables earlier. (closes vim/vim#4623)
ec572ad6a6
This commit is contained in:
@@ -412,9 +412,9 @@ EXTERN vimmenu_T *root_menu INIT(= NULL);
|
||||
*/
|
||||
EXTERN int sys_menu INIT(= FALSE);
|
||||
|
||||
/* While redrawing the screen this flag is set. It means the screen size
|
||||
* ('lines' and 'rows') must not be changed. */
|
||||
EXTERN int updating_screen INIT(= FALSE);
|
||||
// While redrawing the screen this flag is set. It means the screen size
|
||||
// ('lines' and 'rows') must not be changed.
|
||||
EXTERN int updating_screen INIT(= 0);
|
||||
|
||||
/*
|
||||
* All windows are linked in a list. firstwin points to the first entry,
|
||||
|
Reference in New Issue
Block a user