From b8e2305656adeb9357e726742bfe0e91e88cda28 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 11 Feb 2014 18:58:09 +0100 Subject: updated for version 7.4.177 Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef. --- src/move.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/move.c b/src/move.c index 3a75ce36a..67e214bf9 100644 --- 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 index a015595d1..3a95f317e 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 177, /**/ 176, /**/ -- cgit v1.2.1