0
0
mirror of https://github.com/vim/vim.git synced 2025-11-16 23:24:03 -05:00

patch 7.4.1631

Problem:    Compiler doesn't understand switch on all enum values. (Tony
            Mechelynck)
Solution:   Initialize variable.
This commit is contained in:
Bram Moolenaar
2016-03-21 22:35:10 +01:00
parent d63aff0a65
commit 573e445664
2 changed files with 3 additions and 1 deletions

View File

@@ -2100,7 +2100,7 @@ channel_part_info(channel_T *channel, dict_T *dict, char *name, int part)
chanpart_T *chanpart = &channel->ch_part[part];
char namebuf[20];
size_t tail;
char *s;
char *s = "";
STRCPY(namebuf, name);
STRCAT(namebuf, "_");

View File

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