From 573e445664eef399a72b1bfc975260a639605fef Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 21 Mar 2016 22:35:10 +0100 Subject: [PATCH] patch 7.4.1631 Problem: Compiler doesn't understand switch on all enum values. (Tony Mechelynck) Solution: Initialize variable. --- src/channel.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/channel.c b/src/channel.c index 1f6df415c3..64393f974c 100644 --- a/src/channel.c +++ b/src/channel.c @@ -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, "_"); diff --git a/src/version.c b/src/version.c index 808cee79ea..bc119482b1 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1631, /**/ 1630, /**/