0
0
mirror of https://github.com/vim/vim.git synced 2025-11-14 23:04:02 -05:00

patch 9.1.1911: build failure on Solaris with gcc 5

Problem:  build failure on Solaris Sparc with gcc 5
          (idgn23, after v9.1.1736)
Solution: Correctly initialize the key_name variable.

fixes: #18693

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-11-12 20:04:18 +00:00
parent d667946928
commit c44e5ae529
2 changed files with 3 additions and 1 deletions

View File

@@ -5362,7 +5362,7 @@ put_key_modifiers_in_typebuf(
static int static int
parse_csi_f_keys(int arg) parse_csi_f_keys(int arg)
{ {
char_u key_name[2] = ""; char_u key_name[2] = { 0, 0 };
switch (arg) switch (arg)
{ {

View File

@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1911,
/**/ /**/
1910, 1910,
/**/ /**/