diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-01-27 21:39:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-01-27 21:39:05 +0100 |
commit | 73a156bf362caed3b42f834e90e4409cf4d1df9b (patch) | |
tree | 2de8ede6afbb57a7587bb99d6579eccfb13df71b /src/ui.c | |
parent | 7cc8ec47208f784418e40d1ede49c4aeb95b0b53 (diff) | |
download | vim-git-73a156bf362caed3b42f834e90e4409cf4d1df9b.tar.gz |
updated for version 7.4.607v7.4.607
Problem: Compiler warnings for unused variables.
Solution: Move them inside #ifdef. (Kazunobu Kuriyama)
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |