# HG changeset patch # User Bram Moolenaar # Date 1423592825 -3600 # Node ID 6eecaf5a18ca95f0ff06dc2ac88015e6bb6f70ac # Parent b10090446bbb78ab67d3e4bfd4c8f87d90b3f3ad updated for version 7.4.628 Problem: Compiler warning for variable might be clobbered by longjmp. Solution: Add volatile. (Michael Jarvis) diff --git a/src/main.c b/src/main.c --- a/src/main.c +++ b/src/main.c @@ -1051,7 +1051,7 @@ main_loop(cmdwin, noexmode) int noexmode; /* TRUE when return on entering Ex mode */ { oparg_T oa; /* operator arguments */ - int previous_got_int = FALSE; /* "got_int" was TRUE */ + volatile int previous_got_int = FALSE; /* "got_int" was TRUE */ #ifdef FEAT_CONCEAL linenr_T conceal_old_cursor_line = 0; linenr_T conceal_new_cursor_line = 0; 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 */ /**/ + 628, +/**/ 627, /**/ 626,