0
0
mirror of https://github.com/vim/vim.git synced 2025-09-15 23:23:38 -04:00

updated for version 7.4.177

Problem:    Compiler warning for unused variable. (Tony Mechelynck)
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar 2014-02-11 18:58:09 +01:00
parent 2d5f38ff10
commit b8e2305656
2 changed files with 4 additions and 0 deletions

View File

@ -2101,7 +2101,9 @@ scroll_cursor_halfway(atend)
int used;
lineoff_T loff;
lineoff_T boff;
#ifdef FEAT_DIFF
linenr_T old_topline = curwin->w_topline;
#endif
loff.lnum = boff.lnum = curwin->w_cursor.lnum;
#ifdef FEAT_FOLDING

View File

@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
177,
/**/
176,
/**/