# HG changeset patch # User Bram Moolenaar # Date 1422391145 -3600 # Node ID 52b89a52ffd4f2a925b42be1aa8041bc0c0dff31 # Parent 1c3edaa53f1372c8d8f4334e1118256fbab89e92 updated for version 7.4.607 Problem: Compiler warnings for unused variables. Solution: Move them inside #ifdef. (Kazunobu Kuriyama) diff --git a/src/ui.c b/src/ui.c --- 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. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 607, +/**/ 606, /**/ 605,