]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.177 v7.4.177
authorBram Moolenaar <Bram@vim.org>
Tue, 11 Feb 2014 17:58:09 +0000 (18:58 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 11 Feb 2014 17:58:09 +0000 (18:58 +0100)
Problem:    Compiler warning for unused variable. (Tony Mechelynck)
Solution:   Add #ifdef.

src/move.c
src/version.c

index 3a75ce36a4f22b431761e1f0f6cb459a931eda03..67e214bf97f50a8e75d7ff19d3e7b61bbddbad08 100644 (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
index a015595d105b6fdde591be251395e62b9ff6ea5f..3a95f317e917af5a877c388b128682b7039a9469 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    177,
 /**/
     176,
 /**/