Skip to content

Commit 573e445

Browse files
committed
patch 7.4.1631
Problem: Compiler doesn't understand switch on all enum values. (Tony Mechelynck) Solution: Initialize variable.
1 parent d63aff0 commit 573e445

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/channel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,7 @@ channel_part_info(channel_T *channel, dict_T *dict, char *name, int part)
21002100
chanpart_T *chanpart = &channel->ch_part[part];
21012101
char namebuf[20];
21022102
size_t tail;
2103-
char *s;
2103+
char *s = "";
21042104

21052105
STRCPY(namebuf, name);
21062106
STRCAT(namebuf, "_");

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,8 @@ static char *(features[]) =
748748

749749
static int included_patches[] =
750750
{ /* Add new patch number below this line */
751+
/**/
752+
1631,
751753
/**/
752754
1630,
753755
/**/

0 commit comments

Comments
 (0)