mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -4560,9 +4560,9 @@ nv_mousescroll(cmdarg_T *cap)
|
|||||||
nv_scroll_line(cap);
|
nv_scroll_line(cap);
|
||||||
}
|
}
|
||||||
#ifdef FEAT_TEXT_PROP
|
#ifdef FEAT_TEXT_PROP
|
||||||
if (bt_popup(wp->w_buffer))
|
if (bt_popup(curwin->w_buffer))
|
||||||
{
|
{
|
||||||
int height = wp->w_height;
|
int height = curwin->w_height;
|
||||||
|
|
||||||
curwin->w_firstline = curwin->w_topline;
|
curwin->w_firstline = curwin->w_topline;
|
||||||
popup_adjust_position(curwin);
|
popup_adjust_position(curwin);
|
||||||
|
@@ -2129,8 +2129,8 @@ update_popups(void (*win_update)(win_T *wp))
|
|||||||
char_u buf[MB_MAXBYTES];
|
char_u buf[MB_MAXBYTES];
|
||||||
int row;
|
int row;
|
||||||
int i;
|
int i;
|
||||||
int sb_thumb_top;
|
int sb_thumb_top = 0;
|
||||||
int sb_thumb_height;
|
int sb_thumb_height = 0;
|
||||||
int attr_scroll = highlight_attr[HLF_PSB];
|
int attr_scroll = highlight_attr[HLF_PSB];
|
||||||
int attr_thumb = highlight_attr[HLF_PST];
|
int attr_thumb = highlight_attr[HLF_PST];
|
||||||
|
|
||||||
|
@@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1599,
|
||||||
/**/
|
/**/
|
||||||
1598,
|
1598,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user