patch 8.1.1599: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add a dummy assignment.
diff --git a/src/popupwin.c b/src/popupwin.c
index 5611cba..2158a80 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -2129,8 +2129,8 @@
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];