diff src/ui.c @ 6561:52b89a52ffd4 v7.4.607

updated for version 7.4.607 Problem: Compiler warnings for unused variables. Solution: Move them inside #ifdef. (Kazunobu Kuriyama)
author Bram Moolenaar <bram@vim.org>
date Tue, 27 Jan 2015 21:39:05 +0100
parents b01ca71f93b2
children 286fd54c7ae3
line wrap: on
line diff
--- 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.