Problem: Warning for using uninitialized variable. (Tony Mechelynck)
Solution: Simplify the code by always using the mouse coordinates.
*/
int
get_beval_info(
- BalloonEval *beval,
- int getword,
- win_T **winp,
- linenr_T *lnump,
- char_u **textp,
- int *colp)
+ BalloonEval *beval,
+ int getword,
+ win_T **winp,
+ linenr_T *lnump,
+ char_u **textp,
+ int *colp)
{
- int row, col;
+ int row = mouse_row;
+ int col = mouse_col;
-# ifdef FEAT_BEVAL_TERM
-# ifdef FEAT_GUI
- if (!gui.in_use)
-# endif
- {
- row = mouse_row;
- col = mouse_col;
- }
-# endif
# ifdef FEAT_GUI
if (gui.in_use)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1650,
/**/
1649,
/**/