0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.0271: using INIT() in non-header files

Problem:    Using INIT() in non-header files.
Solution:   Remove INIT(). (closes #10981)
This commit is contained in:
zeertzjq
2022-08-26 10:33:54 +01:00
committed by Bram Moolenaar
parent 2bd9dbc19f
commit 9b7d2a9596
4 changed files with 5 additions and 3 deletions

View File

@@ -959,7 +959,7 @@ static volatile sig_atomic_t lc_signal;
// TRUE when lc_jump_env is valid.
// Volatile because it is used in signal handler deathtrap().
static volatile sig_atomic_t lc_active INIT(= FALSE);
static volatile sig_atomic_t lc_active = FALSE;
/*
* A simplistic version of setjmp() that only allows one level of using.