]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.607 v7.4.607
authorBram Moolenaar <Bram@vim.org>
Tue, 27 Jan 2015 20:39:05 +0000 (21:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 27 Jan 2015 20:39:05 +0000 (21:39 +0100)
Problem:    Compiler warnings for unused variables.
Solution:   Move them inside #ifdef. (Kazunobu Kuriyama)

src/ui.c
src/version.c

index a2d83458d5358c97b137761ba13cb0aa47eef8fe..10ae731772126389f31380a98b7f00c052d54dc0 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -73,8 +73,6 @@ ui_write(s, len)
 static char_u *ta_str = NULL;
 static int ta_off;     /* offset for next char to use when ta_str != NULL */
 static int ta_len;     /* length of ta_str when it's not NULL*/
-static int clipboard_needs_update; /* clipboard needs to be updated */
-static int global_change_count = 0; /* if set, inside a start_global_changes */
 
     void
 ui_inchar_undo(s, len)
@@ -564,6 +562,8 @@ clip_copy_selection(clip)
  * prevents accessing the clipboard very often which might slow down Vim
  * considerably.
  */
+static int global_change_count = 0; /* if set, inside a start_global_changes */
+static int clipboard_needs_update; /* clipboard needs to be updated */
 
 /*
  * Save clip_unnamed and reset it.
index 72d85b618406b51e5f4329cf8f603ed0d6e95b5c..1c4693f25fab37f86377e7e58c3f9c49d90c42ac 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    607,
 /**/
     606,
 /**/