Skip to content

Commit a32a93c

Browse files
committed
updated for version 7.4.177
Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef.
1 parent 9c81148 commit a32a93c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/move.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,7 +2101,9 @@ scroll_cursor_halfway(atend)
21012101
int used;
21022102
lineoff_T loff;
21032103
lineoff_T boff;
2104+
#ifdef FEAT_DIFF
21042105
linenr_T old_topline = curwin->w_topline;
2106+
#endif
21052107

21062108
loff.lnum = boff.lnum = curwin->w_cursor.lnum;
21072109
#ifdef FEAT_FOLDING

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
177,
741743
/**/
742744
176,
743745
/**/

0 commit comments

Comments
 (0)