mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4.177
Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef.
This commit is contained in:
@@ -2101,7 +2101,9 @@ scroll_cursor_halfway(atend)
|
|||||||
int used;
|
int used;
|
||||||
lineoff_T loff;
|
lineoff_T loff;
|
||||||
lineoff_T boff;
|
lineoff_T boff;
|
||||||
|
#ifdef FEAT_DIFF
|
||||||
linenr_T old_topline = curwin->w_topline;
|
linenr_T old_topline = curwin->w_topline;
|
||||||
|
#endif
|
||||||
|
|
||||||
loff.lnum = boff.lnum = curwin->w_cursor.lnum;
|
loff.lnum = boff.lnum = curwin->w_cursor.lnum;
|
||||||
#ifdef FEAT_FOLDING
|
#ifdef FEAT_FOLDING
|
||||||
|
@@ -738,6 +738,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 */
|
||||||
|
/**/
|
||||||
|
177,
|
||||||
/**/
|
/**/
|
||||||
176,
|
176,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user