Skip to content

Commit 673510a

Browse files
committed
updated for version 7.4.628
Problem: Compiler warning for variable might be clobbered by longjmp. Solution: Add volatile. (Michael Jarvis)
1 parent adaab7c commit 673510a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ main_loop(cmdwin, noexmode)
10511051
int noexmode; /* TRUE when return on entering Ex mode */
10521052
{
10531053
oparg_T oa; /* operator arguments */
1054-
int previous_got_int = FALSE; /* "got_int" was TRUE */
1054+
volatile int previous_got_int = FALSE; /* "got_int" was TRUE */
10551055
#ifdef FEAT_CONCEAL
10561056
linenr_T conceal_old_cursor_line = 0;
10571057
linenr_T conceal_new_cursor_line = 0;

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+
628,
744746
/**/
745747
627,
746748
/**/

0 commit comments

Comments
 (0)