# HG changeset patch # User Bram Moolenaar # Date 1392141489 -3600 # Node ID df3b0b70d8c1d29817597f45d19bb72755f86bd1 # Parent 45f106e694641fa211f93eca0e2131fb708daadd updated for version 7.4.177 Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef. diff --git a/src/move.c b/src/move.c --- a/src/move.c +++ b/src/move.c @@ -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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 177, +/**/ 176, /**/ 175,