0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.628

Problem:    Compiler warning for variable might be clobbered by longjmp.
Solution:   Add volatile. (Michael Jarvis)
This commit is contained in:
Bram Moolenaar
2015-02-10 19:27:05 +01:00
parent 494838a3fe
commit 8872ef1b4e
2 changed files with 3 additions and 1 deletions

View File

@@ -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;