0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.1599: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Add a dummy assignment.
This commit is contained in:
Bram Moolenaar
2019-06-26 04:06:57 +02:00
parent 53a95d6584
commit 6efd76ae4a
3 changed files with 6 additions and 4 deletions

View File

@@ -2129,8 +2129,8 @@ update_popups(void (*win_update)(win_T *wp))
char_u buf[MB_MAXBYTES];
int row;
int i;
int sb_thumb_top;
int sb_thumb_height;
int sb_thumb_top = 0;
int sb_thumb_height = 0;
int attr_scroll = highlight_attr[HLF_PSB];
int attr_thumb = highlight_attr[HLF_PST];