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:
@@ -4560,9 +4560,9 @@ nv_mousescroll(cmdarg_T *cap)
|
||||
nv_scroll_line(cap);
|
||||
}
|
||||
#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;
|
||||
popup_adjust_position(curwin);
|
||||
|
Reference in New Issue
Block a user