Patch 9.0.0271
Problem: Using INIT() in non-header files.
Solution: Remove INIT(). (closes #10981)
Files: src/ex_getln.c, src/gui_xim.c, src/os_unix.c
*** ../vim-9.0.0270/src/ex_getln.c 2022-08-21 19:08:47.078217067 +0100
--- src/ex_getln.c 2022-08-26 10:32:01.030768738 +0100
***************
*** 59,65 ****
#ifdef FEAT_CMDWIN
static int open_cmdwin(void);
! static int cedit_key INIT(= -1); // key value of 'cedit' option
#endif
--- 59,65 ----
#ifdef FEAT_CMDWIN
static int open_cmdwin(void);
! static int cedit_key = -1; // key value of 'cedit' option
#endif
*** ../vim-9.0.0270/src/gui_xim.c 2022-05-26 13:12:57.000000000 +0100
--- src/gui_xim.c 2022-08-26 10:32:01.030768738 +0100
***************
*** 154,160 ****
#if defined(FEAT_XIM) || defined(PROTO)
# if defined(FEAT_GUI_GTK) || defined(PROTO)
! static int xim_has_preediting INIT(= FALSE); // IM current status
/*
* Set preedit_start_col to the current cursor position.
--- 154,160 ----
#if defined(FEAT_XIM) || defined(PROTO)
# if defined(FEAT_GUI_GTK) || defined(PROTO)
! static int xim_has_preediting = FALSE; // IM current status
/*
* Set preedit_start_col to the current cursor position.
*** ../vim-9.0.0270/src/os_unix.c 2022-08-14 14:16:07.999582175 +0100
--- src/os_unix.c 2022-08-26 10:32:01.034768737 +0100
***************
*** 959,965 ****
// 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);
/*
* A simplistic version of setjmp() that only allows one level of using.
--- 959,965 ----
// TRUE when lc_jump_env is valid.
// Volatile because it is used in signal handler deathtrap().
! static volatile sig_atomic_t lc_active = FALSE;
/*
* A simplistic version of setjmp() that only allows one level of using.
*** ../vim-9.0.0270/src/version.c 2022-08-25 18:12:00.354668433 +0100
--- src/version.c 2022-08-26 10:33:17.366725782 +0100
***************
*** 725,726 ****
--- 725,728 ----
{ /* Add new patch number below this line */
+ /**/
+ 271,
/**/
--
It is illegal for anyone to give lighted cigars to dogs, cats, and other
domesticated animal kept as pets.
[real standing law in Illinois, United States of America]
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220826093442.D6B441C0DDF%40moolenaar.net.