Skip to content

Commit e030b90

Browse files
brammooldouglaskayama
authored andcommitted
updated for version 7.4.607
Problem: Compiler warnings for unused variables. Solution: Move them inside #ifdef. (Kazunobu Kuriyama)
1 parent 12dcef1 commit e030b90

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/ui.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ ui_write(s, len)
7373
static char_u *ta_str = NULL;
7474
static int ta_off; /* offset for next char to use when ta_str != NULL */
7575
static int ta_len; /* length of ta_str when it's not NULL*/
76-
static int clipboard_needs_update; /* clipboard needs to be updated */
77-
static int global_change_count = 0; /* if set, inside a start_global_changes */
7876

7977
void
8078
ui_inchar_undo(s, len)
@@ -564,6 +562,8 @@ clip_copy_selection(clip)
564562
* prevents accessing the clipboard very often which might slow down Vim
565563
* considerably.
566564
*/
565+
static int global_change_count = 0; /* if set, inside a start_global_changes */
566+
static int clipboard_needs_update; /* clipboard needs to be updated */
567567

568568
/*
569569
* Save clip_unnamed and reset it.

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
607,
744746
/**/
745747
606,
746748
/**/

0 commit comments

Comments
 (0)